/*
 * Copyright (C) 2019 The Turms Project
 * https://github.com/turms-im/turms
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: request/turms_request.proto

package im.turms.server.common.access.client.dto.request;

/**
 * <pre>
 * Client -&gt; Server -&gt; Client
 * </pre>
 *
 * Protobuf type {@code im.turms.proto.TurmsRequest}
 */
public final class TurmsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:im.turms.proto.TurmsRequest)
    TurmsRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use TurmsRequest.newBuilder() to construct.
  private TurmsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private TurmsRequest() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new TurmsRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TurmsRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 8: {
            bitField0_ |= 0x00000001;
            requestId_ = input.readInt64();
            break;
          }
          case 26: {
            im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder subBuilder = null;
            if (kindCase_ == 3) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 3;
            break;
          }
          case 34: {
            im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder subBuilder = null;
            if (kindCase_ == 4) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 4;
            break;
          }
          case 42: {
            im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder subBuilder = null;
            if (kindCase_ == 5) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 5;
            break;
          }
          case 50: {
            im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder subBuilder = null;
            if (kindCase_ == 6) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 6;
            break;
          }
          case 58: {
            im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder subBuilder = null;
            if (kindCase_ == 7) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 7;
            break;
          }
          case 66: {
            im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder subBuilder = null;
            if (kindCase_ == 8) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 8;
            break;
          }
          case 74: {
            im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder subBuilder = null;
            if (kindCase_ == 9) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 9;
            break;
          }
          case 82: {
            im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder subBuilder = null;
            if (kindCase_ == 10) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 10;
            break;
          }
          case 90: {
            im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder subBuilder = null;
            if (kindCase_ == 11) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 11;
            break;
          }
          case 98: {
            im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder subBuilder = null;
            if (kindCase_ == 12) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 12;
            break;
          }
          case 106: {
            im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder subBuilder = null;
            if (kindCase_ == 13) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 13;
            break;
          }
          case 114: {
            im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder subBuilder = null;
            if (kindCase_ == 14) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 14;
            break;
          }
          case 802: {
            im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder subBuilder = null;
            if (kindCase_ == 100) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 100;
            break;
          }
          case 810: {
            im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder subBuilder = null;
            if (kindCase_ == 101) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 101;
            break;
          }
          case 818: {
            im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder subBuilder = null;
            if (kindCase_ == 102) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 102;
            break;
          }
          case 826: {
            im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder subBuilder = null;
            if (kindCase_ == 103) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 103;
            break;
          }
          case 834: {
            im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder subBuilder = null;
            if (kindCase_ == 104) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 104;
            break;
          }
          case 842: {
            im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder subBuilder = null;
            if (kindCase_ == 105) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 105;
            break;
          }
          case 1602: {
            im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder subBuilder = null;
            if (kindCase_ == 200) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 200;
            break;
          }
          case 1610: {
            im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 201) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 201;
            break;
          }
          case 1618: {
            im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder subBuilder = null;
            if (kindCase_ == 202) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 202;
            break;
          }
          case 1626: {
            im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 203) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 203;
            break;
          }
          case 1634: {
            im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder subBuilder = null;
            if (kindCase_ == 204) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 204;
            break;
          }
          case 1642: {
            im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder subBuilder = null;
            if (kindCase_ == 205) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 205;
            break;
          }
          case 1650: {
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder subBuilder = null;
            if (kindCase_ == 206) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 206;
            break;
          }
          case 1658: {
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder subBuilder = null;
            if (kindCase_ == 207) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 207;
            break;
          }
          case 1666: {
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder subBuilder = null;
            if (kindCase_ == 208) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 208;
            break;
          }
          case 1674: {
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder subBuilder = null;
            if (kindCase_ == 209) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 209;
            break;
          }
          case 1682: {
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 210) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 210;
            break;
          }
          case 1690: {
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder subBuilder = null;
            if (kindCase_ == 211) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 211;
            break;
          }
          case 2402: {
            im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 300) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 300;
            break;
          }
          case 2410: {
            im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 301) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 301;
            break;
          }
          case 2418: {
            im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 302) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 302;
            break;
          }
          case 2426: {
            im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder subBuilder = null;
            if (kindCase_ == 303) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 303;
            break;
          }
          case 2434: {
            im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder subBuilder = null;
            if (kindCase_ == 304) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 304;
            break;
          }
          case 2442: {
            im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder subBuilder = null;
            if (kindCase_ == 305) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 305;
            break;
          }
          case 3202: {
            im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder subBuilder = null;
            if (kindCase_ == 400) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 400;
            break;
          }
          case 3210: {
            im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder subBuilder = null;
            if (kindCase_ == 401) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 401;
            break;
          }
          case 3218: {
            im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder subBuilder = null;
            if (kindCase_ == 402) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 402;
            break;
          }
          case 3226: {
            im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder subBuilder = null;
            if (kindCase_ == 403) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 403;
            break;
          }
          case 4002: {
            im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder subBuilder = null;
            if (kindCase_ == 500) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 500;
            break;
          }
          case 4010: {
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder subBuilder = null;
            if (kindCase_ == 501) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 501;
            break;
          }
          case 4018: {
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder subBuilder = null;
            if (kindCase_ == 502) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 502;
            break;
          }
          case 4026: {
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder subBuilder = null;
            if (kindCase_ == 503) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 503;
            break;
          }
          case 4034: {
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder subBuilder = null;
            if (kindCase_ == 504) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 504;
            break;
          }
          case 4042: {
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder subBuilder = null;
            if (kindCase_ == 505) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 505;
            break;
          }
          case 4050: {
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder subBuilder = null;
            if (kindCase_ == 506) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 506;
            break;
          }
          case 4058: {
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder subBuilder = null;
            if (kindCase_ == 507) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 507;
            break;
          }
          case 4066: {
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder subBuilder = null;
            if (kindCase_ == 508) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 508;
            break;
          }
          case 4074: {
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder subBuilder = null;
            if (kindCase_ == 509) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 509;
            break;
          }
          case 4082: {
            im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder subBuilder = null;
            if (kindCase_ == 510) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 510;
            break;
          }
          case 8002: {
            im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder subBuilder = null;
            if (kindCase_ == 1000) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 1000;
            break;
          }
          case 8010: {
            im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder subBuilder = null;
            if (kindCase_ == 1001) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 1001;
            break;
          }
          case 8018: {
            im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder subBuilder = null;
            if (kindCase_ == 1002) {
              subBuilder = ((im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_).toBuilder();
            }
            kind_ =
                input.readMessage(im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_);
              kind_ = subBuilder.buildPartial();
            }
            kindCase_ = 1002;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (com.google.protobuf.UninitializedMessageException e) {
      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return im.turms.server.common.access.client.dto.request.TurmsRequestOuterClass.internal_static_im_turms_proto_TurmsRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return im.turms.server.common.access.client.dto.request.TurmsRequestOuterClass.internal_static_im_turms_proto_TurmsRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            im.turms.server.common.access.client.dto.request.TurmsRequest.class, im.turms.server.common.access.client.dto.request.TurmsRequest.Builder.class);
  }

  private int bitField0_;
  private int kindCase_ = 0;
  private java.lang.Object kind_;
  public enum KindCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    CREATE_SESSION_REQUEST(3),
    DELETE_SESSION_REQUEST(4),
    QUERY_CONVERSATIONS_REQUEST(5),
    UPDATE_CONVERSATION_REQUEST(6),
    UPDATE_TYPING_STATUS_REQUEST(7),
    CREATE_MESSAGE_REQUEST(8),
    QUERY_MESSAGES_REQUEST(9),
    UPDATE_MESSAGE_REQUEST(10),
    CREATE_GROUP_MEMBER_REQUEST(11),
    DELETE_GROUP_MEMBER_REQUEST(12),
    QUERY_GROUP_MEMBERS_REQUEST(13),
    UPDATE_GROUP_MEMBER_REQUEST(14),
    QUERY_USER_PROFILE_REQUEST(100),
    QUERY_NEARBY_USERS_REQUEST(101),
    QUERY_USER_ONLINE_STATUSES_REQUEST(102),
    UPDATE_USER_LOCATION_REQUEST(103),
    UPDATE_USER_ONLINE_STATUS_REQUEST(104),
    UPDATE_USER_REQUEST(105),
    CREATE_FRIEND_REQUEST_REQUEST(200),
    CREATE_RELATIONSHIP_GROUP_REQUEST(201),
    CREATE_RELATIONSHIP_REQUEST(202),
    DELETE_RELATIONSHIP_GROUP_REQUEST(203),
    DELETE_RELATIONSHIP_REQUEST(204),
    QUERY_FRIEND_REQUESTS_REQUEST(205),
    QUERY_RELATED_USER_IDS_REQUEST(206),
    QUERY_RELATIONSHIP_GROUPS_REQUEST(207),
    QUERY_RELATIONSHIPS_REQUEST(208),
    UPDATE_FRIEND_REQUEST_REQUEST(209),
    UPDATE_RELATIONSHIP_GROUP_REQUEST(210),
    UPDATE_RELATIONSHIP_REQUEST(211),
    CREATE_GROUP_REQUEST(300),
    DELETE_GROUP_REQUEST(301),
    QUERY_GROUP_REQUEST(302),
    QUERY_JOINED_GROUP_IDS_REQUEST(303),
    QUERY_JOINED_GROUP_INFOS_REQUEST(304),
    UPDATE_GROUP_REQUEST(305),
    CREATE_GROUP_BLOCKED_USER_REQUEST(400),
    DELETE_GROUP_BLOCKED_USER_REQUEST(401),
    QUERY_GROUP_BLOCKED_USER_IDS_REQUEST(402),
    QUERY_GROUP_BLOCKED_USER_INFOS_REQUEST(403),
    CHECK_GROUP_JOIN_QUESTIONS_ANSWERS_REQUEST(500),
    CREATE_GROUP_INVITATION_REQUEST(501),
    CREATE_GROUP_JOIN_REQUEST_REQUEST(502),
    CREATE_GROUP_JOIN_QUESTION_REQUEST(503),
    DELETE_GROUP_INVITATION_REQUEST(504),
    DELETE_GROUP_JOIN_REQUEST_REQUEST(505),
    DELETE_GROUP_JOIN_QUESTION_REQUEST(506),
    QUERY_GROUP_INVITATIONS_REQUEST(507),
    QUERY_GROUP_JOIN_REQUESTS_REQUEST(508),
    QUERY_GROUP_JOIN_QUESTIONS_REQUEST(509),
    UPDATE_GROUP_JOIN_QUESTION_REQUEST(510),
    DELETE_RESOURCE_REQUEST(1000),
    QUERY_SIGNED_GET_URL_REQUEST(1001),
    QUERY_SIGNED_PUT_URL_REQUEST(1002),
    KIND_NOT_SET(0);
    private final int value;
    private KindCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static KindCase valueOf(int value) {
      return forNumber(value);
    }

    public static KindCase forNumber(int value) {
      switch (value) {
        case 3: return CREATE_SESSION_REQUEST;
        case 4: return DELETE_SESSION_REQUEST;
        case 5: return QUERY_CONVERSATIONS_REQUEST;
        case 6: return UPDATE_CONVERSATION_REQUEST;
        case 7: return UPDATE_TYPING_STATUS_REQUEST;
        case 8: return CREATE_MESSAGE_REQUEST;
        case 9: return QUERY_MESSAGES_REQUEST;
        case 10: return UPDATE_MESSAGE_REQUEST;
        case 11: return CREATE_GROUP_MEMBER_REQUEST;
        case 12: return DELETE_GROUP_MEMBER_REQUEST;
        case 13: return QUERY_GROUP_MEMBERS_REQUEST;
        case 14: return UPDATE_GROUP_MEMBER_REQUEST;
        case 100: return QUERY_USER_PROFILE_REQUEST;
        case 101: return QUERY_NEARBY_USERS_REQUEST;
        case 102: return QUERY_USER_ONLINE_STATUSES_REQUEST;
        case 103: return UPDATE_USER_LOCATION_REQUEST;
        case 104: return UPDATE_USER_ONLINE_STATUS_REQUEST;
        case 105: return UPDATE_USER_REQUEST;
        case 200: return CREATE_FRIEND_REQUEST_REQUEST;
        case 201: return CREATE_RELATIONSHIP_GROUP_REQUEST;
        case 202: return CREATE_RELATIONSHIP_REQUEST;
        case 203: return DELETE_RELATIONSHIP_GROUP_REQUEST;
        case 204: return DELETE_RELATIONSHIP_REQUEST;
        case 205: return QUERY_FRIEND_REQUESTS_REQUEST;
        case 206: return QUERY_RELATED_USER_IDS_REQUEST;
        case 207: return QUERY_RELATIONSHIP_GROUPS_REQUEST;
        case 208: return QUERY_RELATIONSHIPS_REQUEST;
        case 209: return UPDATE_FRIEND_REQUEST_REQUEST;
        case 210: return UPDATE_RELATIONSHIP_GROUP_REQUEST;
        case 211: return UPDATE_RELATIONSHIP_REQUEST;
        case 300: return CREATE_GROUP_REQUEST;
        case 301: return DELETE_GROUP_REQUEST;
        case 302: return QUERY_GROUP_REQUEST;
        case 303: return QUERY_JOINED_GROUP_IDS_REQUEST;
        case 304: return QUERY_JOINED_GROUP_INFOS_REQUEST;
        case 305: return UPDATE_GROUP_REQUEST;
        case 400: return CREATE_GROUP_BLOCKED_USER_REQUEST;
        case 401: return DELETE_GROUP_BLOCKED_USER_REQUEST;
        case 402: return QUERY_GROUP_BLOCKED_USER_IDS_REQUEST;
        case 403: return QUERY_GROUP_BLOCKED_USER_INFOS_REQUEST;
        case 500: return CHECK_GROUP_JOIN_QUESTIONS_ANSWERS_REQUEST;
        case 501: return CREATE_GROUP_INVITATION_REQUEST;
        case 502: return CREATE_GROUP_JOIN_REQUEST_REQUEST;
        case 503: return CREATE_GROUP_JOIN_QUESTION_REQUEST;
        case 504: return DELETE_GROUP_INVITATION_REQUEST;
        case 505: return DELETE_GROUP_JOIN_REQUEST_REQUEST;
        case 506: return DELETE_GROUP_JOIN_QUESTION_REQUEST;
        case 507: return QUERY_GROUP_INVITATIONS_REQUEST;
        case 508: return QUERY_GROUP_JOIN_REQUESTS_REQUEST;
        case 509: return QUERY_GROUP_JOIN_QUESTIONS_REQUEST;
        case 510: return UPDATE_GROUP_JOIN_QUESTION_REQUEST;
        case 1000: return DELETE_RESOURCE_REQUEST;
        case 1001: return QUERY_SIGNED_GET_URL_REQUEST;
        case 1002: return QUERY_SIGNED_PUT_URL_REQUEST;
        case 0: return KIND_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public KindCase
  getKindCase() {
    return KindCase.forNumber(
        kindCase_);
  }

  public static final int REQUEST_ID_FIELD_NUMBER = 1;
  private long requestId_;
  /**
   * <pre>
   * Note: request_id is allowed to be duplicate because
   * it is used for clients to identify the response of the same request id in a session
   * </pre>
   *
   * <code>optional int64 request_id = 1;</code>
   * @return Whether the requestId field is set.
   */
  @java.lang.Override
  public boolean hasRequestId() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <pre>
   * Note: request_id is allowed to be duplicate because
   * it is used for clients to identify the response of the same request id in a session
   * </pre>
   *
   * <code>optional int64 request_id = 1;</code>
   * @return The requestId.
   */
  @java.lang.Override
  public long getRequestId() {
    return requestId_;
  }

  public static final int CREATE_SESSION_REQUEST_FIELD_NUMBER = 3;
  /**
   * <pre>
   * User - Session
   * </pre>
   *
   * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
   * @return Whether the createSessionRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateSessionRequest() {
    return kindCase_ == 3;
  }
  /**
   * <pre>
   * User - Session
   * </pre>
   *
   * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
   * @return The createSessionRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.CreateSessionRequest getCreateSessionRequest() {
    if (kindCase_ == 3) {
       return (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * User - Session
   * </pre>
   *
   * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.CreateSessionRequestOrBuilder getCreateSessionRequestOrBuilder() {
    if (kindCase_ == 3) {
       return (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
  }

  public static final int DELETE_SESSION_REQUEST_FIELD_NUMBER = 4;
  /**
   * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
   * @return Whether the deleteSessionRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteSessionRequest() {
    return kindCase_ == 4;
  }
  /**
   * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
   * @return The deleteSessionRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest getDeleteSessionRequest() {
    if (kindCase_ == 4) {
       return (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.DeleteSessionRequestOrBuilder getDeleteSessionRequestOrBuilder() {
    if (kindCase_ == 4) {
       return (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
  }

  public static final int QUERY_CONVERSATIONS_REQUEST_FIELD_NUMBER = 5;
  /**
   * <pre>
   * Conversation
   * </pre>
   *
   * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
   * @return Whether the queryConversationsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryConversationsRequest() {
    return kindCase_ == 5;
  }
  /**
   * <pre>
   * Conversation
   * </pre>
   *
   * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
   * @return The queryConversationsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest getQueryConversationsRequest() {
    if (kindCase_ == 5) {
       return (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Conversation
   * </pre>
   *
   * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequestOrBuilder getQueryConversationsRequestOrBuilder() {
    if (kindCase_ == 5) {
       return (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
  }

  public static final int UPDATE_CONVERSATION_REQUEST_FIELD_NUMBER = 6;
  /**
   * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
   * @return Whether the updateConversationRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateConversationRequest() {
    return kindCase_ == 6;
  }
  /**
   * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
   * @return The updateConversationRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest getUpdateConversationRequest() {
    if (kindCase_ == 6) {
       return (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequestOrBuilder getUpdateConversationRequestOrBuilder() {
    if (kindCase_ == 6) {
       return (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
  }

  public static final int UPDATE_TYPING_STATUS_REQUEST_FIELD_NUMBER = 7;
  /**
   * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
   * @return Whether the updateTypingStatusRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateTypingStatusRequest() {
    return kindCase_ == 7;
  }
  /**
   * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
   * @return The updateTypingStatusRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest getUpdateTypingStatusRequest() {
    if (kindCase_ == 7) {
       return (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequestOrBuilder getUpdateTypingStatusRequestOrBuilder() {
    if (kindCase_ == 7) {
       return (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
  }

  public static final int CREATE_MESSAGE_REQUEST_FIELD_NUMBER = 8;
  /**
   * <pre>
   * Message
   * </pre>
   *
   * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
   * @return Whether the createMessageRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateMessageRequest() {
    return kindCase_ == 8;
  }
  /**
   * <pre>
   * Message
   * </pre>
   *
   * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
   * @return The createMessageRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.CreateMessageRequest getCreateMessageRequest() {
    if (kindCase_ == 8) {
       return (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Message
   * </pre>
   *
   * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.CreateMessageRequestOrBuilder getCreateMessageRequestOrBuilder() {
    if (kindCase_ == 8) {
       return (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
  }

  public static final int QUERY_MESSAGES_REQUEST_FIELD_NUMBER = 9;
  /**
   * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
   * @return Whether the queryMessagesRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryMessagesRequest() {
    return kindCase_ == 9;
  }
  /**
   * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
   * @return The queryMessagesRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest getQueryMessagesRequest() {
    if (kindCase_ == 9) {
       return (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.QueryMessagesRequestOrBuilder getQueryMessagesRequestOrBuilder() {
    if (kindCase_ == 9) {
       return (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
  }

  public static final int UPDATE_MESSAGE_REQUEST_FIELD_NUMBER = 10;
  /**
   * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
   * @return Whether the updateMessageRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateMessageRequest() {
    return kindCase_ == 10;
  }
  /**
   * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
   * @return The updateMessageRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest getUpdateMessageRequest() {
    if (kindCase_ == 10) {
       return (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.message.UpdateMessageRequestOrBuilder getUpdateMessageRequestOrBuilder() {
    if (kindCase_ == 10) {
       return (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_MEMBER_REQUEST_FIELD_NUMBER = 11;
  /**
   * <pre>
   * Group Member
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
   * @return Whether the createGroupMemberRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupMemberRequest() {
    return kindCase_ == 11;
  }
  /**
   * <pre>
   * Group Member
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
   * @return The createGroupMemberRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest getCreateGroupMemberRequest() {
    if (kindCase_ == 11) {
       return (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Group Member
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequestOrBuilder getCreateGroupMemberRequestOrBuilder() {
    if (kindCase_ == 11) {
       return (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_MEMBER_REQUEST_FIELD_NUMBER = 12;
  /**
   * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
   * @return Whether the deleteGroupMemberRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupMemberRequest() {
    return kindCase_ == 12;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
   * @return The deleteGroupMemberRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest getDeleteGroupMemberRequest() {
    if (kindCase_ == 12) {
       return (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequestOrBuilder getDeleteGroupMemberRequestOrBuilder() {
    if (kindCase_ == 12) {
       return (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_MEMBERS_REQUEST_FIELD_NUMBER = 13;
  /**
   * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
   * @return Whether the queryGroupMembersRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupMembersRequest() {
    return kindCase_ == 13;
  }
  /**
   * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
   * @return The queryGroupMembersRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest getQueryGroupMembersRequest() {
    if (kindCase_ == 13) {
       return (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequestOrBuilder getQueryGroupMembersRequestOrBuilder() {
    if (kindCase_ == 13) {
       return (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
  }

  public static final int UPDATE_GROUP_MEMBER_REQUEST_FIELD_NUMBER = 14;
  /**
   * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
   * @return Whether the updateGroupMemberRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateGroupMemberRequest() {
    return kindCase_ == 14;
  }
  /**
   * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
   * @return The updateGroupMemberRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest getUpdateGroupMemberRequest() {
    if (kindCase_ == 14) {
       return (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequestOrBuilder getUpdateGroupMemberRequestOrBuilder() {
    if (kindCase_ == 14) {
       return (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
  }

  public static final int QUERY_USER_PROFILE_REQUEST_FIELD_NUMBER = 100;
  /**
   * <pre>
   * User
   * </pre>
   *
   * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
   * @return Whether the queryUserProfileRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryUserProfileRequest() {
    return kindCase_ == 100;
  }
  /**
   * <pre>
   * User
   * </pre>
   *
   * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
   * @return The queryUserProfileRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest getQueryUserProfileRequest() {
    if (kindCase_ == 100) {
       return (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * User
   * </pre>
   *
   * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequestOrBuilder getQueryUserProfileRequestOrBuilder() {
    if (kindCase_ == 100) {
       return (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
  }

  public static final int QUERY_NEARBY_USERS_REQUEST_FIELD_NUMBER = 101;
  /**
   * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
   * @return Whether the queryNearbyUsersRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryNearbyUsersRequest() {
    return kindCase_ == 101;
  }
  /**
   * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
   * @return The queryNearbyUsersRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest getQueryNearbyUsersRequest() {
    if (kindCase_ == 101) {
       return (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequestOrBuilder getQueryNearbyUsersRequestOrBuilder() {
    if (kindCase_ == 101) {
       return (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
  }

  public static final int QUERY_USER_ONLINE_STATUSES_REQUEST_FIELD_NUMBER = 102;
  /**
   * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
   * @return Whether the queryUserOnlineStatusesRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryUserOnlineStatusesRequest() {
    return kindCase_ == 102;
  }
  /**
   * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
   * @return The queryUserOnlineStatusesRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest getQueryUserOnlineStatusesRequest() {
    if (kindCase_ == 102) {
       return (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequestOrBuilder getQueryUserOnlineStatusesRequestOrBuilder() {
    if (kindCase_ == 102) {
       return (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
  }

  public static final int UPDATE_USER_LOCATION_REQUEST_FIELD_NUMBER = 103;
  /**
   * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
   * @return Whether the updateUserLocationRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateUserLocationRequest() {
    return kindCase_ == 103;
  }
  /**
   * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
   * @return The updateUserLocationRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest getUpdateUserLocationRequest() {
    if (kindCase_ == 103) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequestOrBuilder getUpdateUserLocationRequestOrBuilder() {
    if (kindCase_ == 103) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
  }

  public static final int UPDATE_USER_ONLINE_STATUS_REQUEST_FIELD_NUMBER = 104;
  /**
   * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
   * @return Whether the updateUserOnlineStatusRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateUserOnlineStatusRequest() {
    return kindCase_ == 104;
  }
  /**
   * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
   * @return The updateUserOnlineStatusRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest getUpdateUserOnlineStatusRequest() {
    if (kindCase_ == 104) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequestOrBuilder getUpdateUserOnlineStatusRequestOrBuilder() {
    if (kindCase_ == 104) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
  }

  public static final int UPDATE_USER_REQUEST_FIELD_NUMBER = 105;
  /**
   * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
   * @return Whether the updateUserRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateUserRequest() {
    return kindCase_ == 105;
  }
  /**
   * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
   * @return The updateUserRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserRequest getUpdateUserRequest() {
    if (kindCase_ == 105) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.UpdateUserRequestOrBuilder getUpdateUserRequestOrBuilder() {
    if (kindCase_ == 105) {
       return (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
  }

  public static final int CREATE_FRIEND_REQUEST_REQUEST_FIELD_NUMBER = 200;
  /**
   * <pre>
   * User Relationship
   * </pre>
   *
   * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
   * @return Whether the createFriendRequestRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateFriendRequestRequest() {
    return kindCase_ == 200;
  }
  /**
   * <pre>
   * User Relationship
   * </pre>
   *
   * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
   * @return The createFriendRequestRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest getCreateFriendRequestRequest() {
    if (kindCase_ == 200) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * User Relationship
   * </pre>
   *
   * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequestOrBuilder getCreateFriendRequestRequestOrBuilder() {
    if (kindCase_ == 200) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
  }

  public static final int CREATE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER = 201;
  /**
   * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
   * @return Whether the createRelationshipGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateRelationshipGroupRequest() {
    return kindCase_ == 201;
  }
  /**
   * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
   * @return The createRelationshipGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest getCreateRelationshipGroupRequest() {
    if (kindCase_ == 201) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequestOrBuilder getCreateRelationshipGroupRequestOrBuilder() {
    if (kindCase_ == 201) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
  }

  public static final int CREATE_RELATIONSHIP_REQUEST_FIELD_NUMBER = 202;
  /**
   * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
   * @return Whether the createRelationshipRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateRelationshipRequest() {
    return kindCase_ == 202;
  }
  /**
   * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
   * @return The createRelationshipRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest getCreateRelationshipRequest() {
    if (kindCase_ == 202) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequestOrBuilder getCreateRelationshipRequestOrBuilder() {
    if (kindCase_ == 202) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
  }

  public static final int DELETE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER = 203;
  /**
   * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
   * @return Whether the deleteRelationshipGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteRelationshipGroupRequest() {
    return kindCase_ == 203;
  }
  /**
   * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
   * @return The deleteRelationshipGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest getDeleteRelationshipGroupRequest() {
    if (kindCase_ == 203) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequestOrBuilder getDeleteRelationshipGroupRequestOrBuilder() {
    if (kindCase_ == 203) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
  }

  public static final int DELETE_RELATIONSHIP_REQUEST_FIELD_NUMBER = 204;
  /**
   * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
   * @return Whether the deleteRelationshipRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteRelationshipRequest() {
    return kindCase_ == 204;
  }
  /**
   * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
   * @return The deleteRelationshipRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest getDeleteRelationshipRequest() {
    if (kindCase_ == 204) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequestOrBuilder getDeleteRelationshipRequestOrBuilder() {
    if (kindCase_ == 204) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
  }

  public static final int QUERY_FRIEND_REQUESTS_REQUEST_FIELD_NUMBER = 205;
  /**
   * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
   * @return Whether the queryFriendRequestsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryFriendRequestsRequest() {
    return kindCase_ == 205;
  }
  /**
   * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
   * @return The queryFriendRequestsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest getQueryFriendRequestsRequest() {
    if (kindCase_ == 205) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequestOrBuilder getQueryFriendRequestsRequestOrBuilder() {
    if (kindCase_ == 205) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
  }

  public static final int QUERY_RELATED_USER_IDS_REQUEST_FIELD_NUMBER = 206;
  /**
   * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
   * @return Whether the queryRelatedUserIdsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryRelatedUserIdsRequest() {
    return kindCase_ == 206;
  }
  /**
   * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
   * @return The queryRelatedUserIdsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest getQueryRelatedUserIdsRequest() {
    if (kindCase_ == 206) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequestOrBuilder getQueryRelatedUserIdsRequestOrBuilder() {
    if (kindCase_ == 206) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
  }

  public static final int QUERY_RELATIONSHIP_GROUPS_REQUEST_FIELD_NUMBER = 207;
  /**
   * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
   * @return Whether the queryRelationshipGroupsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryRelationshipGroupsRequest() {
    return kindCase_ == 207;
  }
  /**
   * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
   * @return The queryRelationshipGroupsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest getQueryRelationshipGroupsRequest() {
    if (kindCase_ == 207) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequestOrBuilder getQueryRelationshipGroupsRequestOrBuilder() {
    if (kindCase_ == 207) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
  }

  public static final int QUERY_RELATIONSHIPS_REQUEST_FIELD_NUMBER = 208;
  /**
   * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
   * @return Whether the queryRelationshipsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryRelationshipsRequest() {
    return kindCase_ == 208;
  }
  /**
   * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
   * @return The queryRelationshipsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest getQueryRelationshipsRequest() {
    if (kindCase_ == 208) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequestOrBuilder getQueryRelationshipsRequestOrBuilder() {
    if (kindCase_ == 208) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
  }

  public static final int UPDATE_FRIEND_REQUEST_REQUEST_FIELD_NUMBER = 209;
  /**
   * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
   * @return Whether the updateFriendRequestRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateFriendRequestRequest() {
    return kindCase_ == 209;
  }
  /**
   * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
   * @return The updateFriendRequestRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest getUpdateFriendRequestRequest() {
    if (kindCase_ == 209) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequestOrBuilder getUpdateFriendRequestRequestOrBuilder() {
    if (kindCase_ == 209) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
  }

  public static final int UPDATE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER = 210;
  /**
   * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
   * @return Whether the updateRelationshipGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateRelationshipGroupRequest() {
    return kindCase_ == 210;
  }
  /**
   * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
   * @return The updateRelationshipGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest getUpdateRelationshipGroupRequest() {
    if (kindCase_ == 210) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequestOrBuilder getUpdateRelationshipGroupRequestOrBuilder() {
    if (kindCase_ == 210) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
  }

  public static final int UPDATE_RELATIONSHIP_REQUEST_FIELD_NUMBER = 211;
  /**
   * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
   * @return Whether the updateRelationshipRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateRelationshipRequest() {
    return kindCase_ == 211;
  }
  /**
   * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
   * @return The updateRelationshipRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest getUpdateRelationshipRequest() {
    if (kindCase_ == 211) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequestOrBuilder getUpdateRelationshipRequestOrBuilder() {
    if (kindCase_ == 211) {
       return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_REQUEST_FIELD_NUMBER = 300;
  /**
   * <pre>
   * Group
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
   * @return Whether the createGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupRequest() {
    return kindCase_ == 300;
  }
  /**
   * <pre>
   * Group
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
   * @return The createGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.CreateGroupRequest getCreateGroupRequest() {
    if (kindCase_ == 300) {
       return (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Group
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.CreateGroupRequestOrBuilder getCreateGroupRequestOrBuilder() {
    if (kindCase_ == 300) {
       return (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_REQUEST_FIELD_NUMBER = 301;
  /**
   * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
   * @return Whether the deleteGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupRequest() {
    return kindCase_ == 301;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
   * @return The deleteGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest getDeleteGroupRequest() {
    if (kindCase_ == 301) {
       return (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.DeleteGroupRequestOrBuilder getDeleteGroupRequestOrBuilder() {
    if (kindCase_ == 301) {
       return (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_REQUEST_FIELD_NUMBER = 302;
  /**
   * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
   * @return Whether the queryGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupRequest() {
    return kindCase_ == 302;
  }
  /**
   * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
   * @return The queryGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryGroupRequest getQueryGroupRequest() {
    if (kindCase_ == 302) {
       return (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryGroupRequestOrBuilder getQueryGroupRequestOrBuilder() {
    if (kindCase_ == 302) {
       return (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
  }

  public static final int QUERY_JOINED_GROUP_IDS_REQUEST_FIELD_NUMBER = 303;
  /**
   * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
   * @return Whether the queryJoinedGroupIdsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryJoinedGroupIdsRequest() {
    return kindCase_ == 303;
  }
  /**
   * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
   * @return The queryJoinedGroupIdsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest getQueryJoinedGroupIdsRequest() {
    if (kindCase_ == 303) {
       return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequestOrBuilder getQueryJoinedGroupIdsRequestOrBuilder() {
    if (kindCase_ == 303) {
       return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
  }

  public static final int QUERY_JOINED_GROUP_INFOS_REQUEST_FIELD_NUMBER = 304;
  /**
   * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
   * @return Whether the queryJoinedGroupInfosRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryJoinedGroupInfosRequest() {
    return kindCase_ == 304;
  }
  /**
   * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
   * @return The queryJoinedGroupInfosRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest getQueryJoinedGroupInfosRequest() {
    if (kindCase_ == 304) {
       return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequestOrBuilder getQueryJoinedGroupInfosRequestOrBuilder() {
    if (kindCase_ == 304) {
       return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
  }

  public static final int UPDATE_GROUP_REQUEST_FIELD_NUMBER = 305;
  /**
   * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
   * @return Whether the updateGroupRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateGroupRequest() {
    return kindCase_ == 305;
  }
  /**
   * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
   * @return The updateGroupRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest getUpdateGroupRequest() {
    if (kindCase_ == 305) {
       return (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.UpdateGroupRequestOrBuilder getUpdateGroupRequestOrBuilder() {
    if (kindCase_ == 305) {
       return (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_BLOCKED_USER_REQUEST_FIELD_NUMBER = 400;
  /**
   * <pre>
   * Group Blocklist
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
   * @return Whether the createGroupBlockedUserRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupBlockedUserRequest() {
    return kindCase_ == 400;
  }
  /**
   * <pre>
   * Group Blocklist
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
   * @return The createGroupBlockedUserRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest getCreateGroupBlockedUserRequest() {
    if (kindCase_ == 400) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Group Blocklist
   * </pre>
   *
   * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequestOrBuilder getCreateGroupBlockedUserRequestOrBuilder() {
    if (kindCase_ == 400) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_BLOCKED_USER_REQUEST_FIELD_NUMBER = 401;
  /**
   * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
   * @return Whether the deleteGroupBlockedUserRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupBlockedUserRequest() {
    return kindCase_ == 401;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
   * @return The deleteGroupBlockedUserRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest getDeleteGroupBlockedUserRequest() {
    if (kindCase_ == 401) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequestOrBuilder getDeleteGroupBlockedUserRequestOrBuilder() {
    if (kindCase_ == 401) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_BLOCKED_USER_IDS_REQUEST_FIELD_NUMBER = 402;
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
   * @return Whether the queryGroupBlockedUserIdsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupBlockedUserIdsRequest() {
    return kindCase_ == 402;
  }
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
   * @return The queryGroupBlockedUserIdsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest getQueryGroupBlockedUserIdsRequest() {
    if (kindCase_ == 402) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequestOrBuilder getQueryGroupBlockedUserIdsRequestOrBuilder() {
    if (kindCase_ == 402) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_BLOCKED_USER_INFOS_REQUEST_FIELD_NUMBER = 403;
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
   * @return Whether the queryGroupBlockedUserInfosRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupBlockedUserInfosRequest() {
    return kindCase_ == 403;
  }
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
   * @return The queryGroupBlockedUserInfosRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest getQueryGroupBlockedUserInfosRequest() {
    if (kindCase_ == 403) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequestOrBuilder getQueryGroupBlockedUserInfosRequestOrBuilder() {
    if (kindCase_ == 403) {
       return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
  }

  public static final int CHECK_GROUP_JOIN_QUESTIONS_ANSWERS_REQUEST_FIELD_NUMBER = 500;
  /**
   * <pre>
   * Group Enrollment
   * </pre>
   *
   * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
   * @return Whether the checkGroupJoinQuestionsAnswersRequest field is set.
   */
  @java.lang.Override
  public boolean hasCheckGroupJoinQuestionsAnswersRequest() {
    return kindCase_ == 500;
  }
  /**
   * <pre>
   * Group Enrollment
   * </pre>
   *
   * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
   * @return The checkGroupJoinQuestionsAnswersRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest getCheckGroupJoinQuestionsAnswersRequest() {
    if (kindCase_ == 500) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Group Enrollment
   * </pre>
   *
   * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequestOrBuilder getCheckGroupJoinQuestionsAnswersRequestOrBuilder() {
    if (kindCase_ == 500) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_INVITATION_REQUEST_FIELD_NUMBER = 501;
  /**
   * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
   * @return Whether the createGroupInvitationRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupInvitationRequest() {
    return kindCase_ == 501;
  }
  /**
   * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
   * @return The createGroupInvitationRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest getCreateGroupInvitationRequest() {
    if (kindCase_ == 501) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequestOrBuilder getCreateGroupInvitationRequestOrBuilder() {
    if (kindCase_ == 501) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_JOIN_REQUEST_REQUEST_FIELD_NUMBER = 502;
  /**
   * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
   * @return Whether the createGroupJoinRequestRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupJoinRequestRequest() {
    return kindCase_ == 502;
  }
  /**
   * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
   * @return The createGroupJoinRequestRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest getCreateGroupJoinRequestRequest() {
    if (kindCase_ == 502) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequestOrBuilder getCreateGroupJoinRequestRequestOrBuilder() {
    if (kindCase_ == 502) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
  }

  public static final int CREATE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER = 503;
  /**
   * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
   * @return Whether the createGroupJoinQuestionRequest field is set.
   */
  @java.lang.Override
  public boolean hasCreateGroupJoinQuestionRequest() {
    return kindCase_ == 503;
  }
  /**
   * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
   * @return The createGroupJoinQuestionRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest getCreateGroupJoinQuestionRequest() {
    if (kindCase_ == 503) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequestOrBuilder getCreateGroupJoinQuestionRequestOrBuilder() {
    if (kindCase_ == 503) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_INVITATION_REQUEST_FIELD_NUMBER = 504;
  /**
   * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
   * @return Whether the deleteGroupInvitationRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupInvitationRequest() {
    return kindCase_ == 504;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
   * @return The deleteGroupInvitationRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest getDeleteGroupInvitationRequest() {
    if (kindCase_ == 504) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequestOrBuilder getDeleteGroupInvitationRequestOrBuilder() {
    if (kindCase_ == 504) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_JOIN_REQUEST_REQUEST_FIELD_NUMBER = 505;
  /**
   * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
   * @return Whether the deleteGroupJoinRequestRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupJoinRequestRequest() {
    return kindCase_ == 505;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
   * @return The deleteGroupJoinRequestRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest getDeleteGroupJoinRequestRequest() {
    if (kindCase_ == 505) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequestOrBuilder getDeleteGroupJoinRequestRequestOrBuilder() {
    if (kindCase_ == 505) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
  }

  public static final int DELETE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER = 506;
  /**
   * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
   * @return Whether the deleteGroupJoinQuestionRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteGroupJoinQuestionRequest() {
    return kindCase_ == 506;
  }
  /**
   * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
   * @return The deleteGroupJoinQuestionRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest getDeleteGroupJoinQuestionRequest() {
    if (kindCase_ == 506) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequestOrBuilder getDeleteGroupJoinQuestionRequestOrBuilder() {
    if (kindCase_ == 506) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_INVITATIONS_REQUEST_FIELD_NUMBER = 507;
  /**
   * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
   * @return Whether the queryGroupInvitationsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupInvitationsRequest() {
    return kindCase_ == 507;
  }
  /**
   * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
   * @return The queryGroupInvitationsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest getQueryGroupInvitationsRequest() {
    if (kindCase_ == 507) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequestOrBuilder getQueryGroupInvitationsRequestOrBuilder() {
    if (kindCase_ == 507) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_JOIN_REQUESTS_REQUEST_FIELD_NUMBER = 508;
  /**
   * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
   * @return Whether the queryGroupJoinRequestsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupJoinRequestsRequest() {
    return kindCase_ == 508;
  }
  /**
   * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
   * @return The queryGroupJoinRequestsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest getQueryGroupJoinRequestsRequest() {
    if (kindCase_ == 508) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequestOrBuilder getQueryGroupJoinRequestsRequestOrBuilder() {
    if (kindCase_ == 508) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
  }

  public static final int QUERY_GROUP_JOIN_QUESTIONS_REQUEST_FIELD_NUMBER = 509;
  /**
   * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
   * @return Whether the queryGroupJoinQuestionsRequest field is set.
   */
  @java.lang.Override
  public boolean hasQueryGroupJoinQuestionsRequest() {
    return kindCase_ == 509;
  }
  /**
   * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
   * @return The queryGroupJoinQuestionsRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest getQueryGroupJoinQuestionsRequest() {
    if (kindCase_ == 509) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequestOrBuilder getQueryGroupJoinQuestionsRequestOrBuilder() {
    if (kindCase_ == 509) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
  }

  public static final int UPDATE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER = 510;
  /**
   * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
   * @return Whether the updateGroupJoinQuestionRequest field is set.
   */
  @java.lang.Override
  public boolean hasUpdateGroupJoinQuestionRequest() {
    return kindCase_ == 510;
  }
  /**
   * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
   * @return The updateGroupJoinQuestionRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest getUpdateGroupJoinQuestionRequest() {
    if (kindCase_ == 510) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequestOrBuilder getUpdateGroupJoinQuestionRequestOrBuilder() {
    if (kindCase_ == 510) {
       return (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
  }

  public static final int DELETE_RESOURCE_REQUEST_FIELD_NUMBER = 1000;
  /**
   * <pre>
   * Storage
   * </pre>
   *
   * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
   * @return Whether the deleteResourceRequest field is set.
   */
  @java.lang.Override
  public boolean hasDeleteResourceRequest() {
    return kindCase_ == 1000;
  }
  /**
   * <pre>
   * Storage
   * </pre>
   *
   * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
   * @return The deleteResourceRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest getDeleteResourceRequest() {
    if (kindCase_ == 1000) {
       return (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
  }
  /**
   * <pre>
   * Storage
   * </pre>
   *
   * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequestOrBuilder getDeleteResourceRequestOrBuilder() {
    if (kindCase_ == 1000) {
       return (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
  }

  public static final int QUERY_SIGNED_GET_URL_REQUEST_FIELD_NUMBER = 1001;
  /**
   * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
   * @return Whether the querySignedGetUrlRequest field is set.
   */
  @java.lang.Override
  public boolean hasQuerySignedGetUrlRequest() {
    return kindCase_ == 1001;
  }
  /**
   * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
   * @return The querySignedGetUrlRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest getQuerySignedGetUrlRequest() {
    if (kindCase_ == 1001) {
       return (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequestOrBuilder getQuerySignedGetUrlRequestOrBuilder() {
    if (kindCase_ == 1001) {
       return (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
  }

  public static final int QUERY_SIGNED_PUT_URL_REQUEST_FIELD_NUMBER = 1002;
  /**
   * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
   * @return Whether the querySignedPutUrlRequest field is set.
   */
  @java.lang.Override
  public boolean hasQuerySignedPutUrlRequest() {
    return kindCase_ == 1002;
  }
  /**
   * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
   * @return The querySignedPutUrlRequest.
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest getQuerySignedPutUrlRequest() {
    if (kindCase_ == 1002) {
       return (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
  }
  /**
   * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
   */
  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequestOrBuilder getQuerySignedPutUrlRequestOrBuilder() {
    if (kindCase_ == 1002) {
       return (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_;
    }
    return im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeInt64(1, requestId_);
    }
    if (kindCase_ == 3) {
      output.writeMessage(3, (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_);
    }
    if (kindCase_ == 4) {
      output.writeMessage(4, (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_);
    }
    if (kindCase_ == 5) {
      output.writeMessage(5, (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_);
    }
    if (kindCase_ == 6) {
      output.writeMessage(6, (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_);
    }
    if (kindCase_ == 7) {
      output.writeMessage(7, (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_);
    }
    if (kindCase_ == 8) {
      output.writeMessage(8, (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_);
    }
    if (kindCase_ == 9) {
      output.writeMessage(9, (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_);
    }
    if (kindCase_ == 10) {
      output.writeMessage(10, (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_);
    }
    if (kindCase_ == 11) {
      output.writeMessage(11, (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_);
    }
    if (kindCase_ == 12) {
      output.writeMessage(12, (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_);
    }
    if (kindCase_ == 13) {
      output.writeMessage(13, (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_);
    }
    if (kindCase_ == 14) {
      output.writeMessage(14, (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_);
    }
    if (kindCase_ == 100) {
      output.writeMessage(100, (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_);
    }
    if (kindCase_ == 101) {
      output.writeMessage(101, (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_);
    }
    if (kindCase_ == 102) {
      output.writeMessage(102, (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_);
    }
    if (kindCase_ == 103) {
      output.writeMessage(103, (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_);
    }
    if (kindCase_ == 104) {
      output.writeMessage(104, (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_);
    }
    if (kindCase_ == 105) {
      output.writeMessage(105, (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_);
    }
    if (kindCase_ == 200) {
      output.writeMessage(200, (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_);
    }
    if (kindCase_ == 201) {
      output.writeMessage(201, (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 202) {
      output.writeMessage(202, (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_);
    }
    if (kindCase_ == 203) {
      output.writeMessage(203, (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 204) {
      output.writeMessage(204, (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_);
    }
    if (kindCase_ == 205) {
      output.writeMessage(205, (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_);
    }
    if (kindCase_ == 206) {
      output.writeMessage(206, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_);
    }
    if (kindCase_ == 207) {
      output.writeMessage(207, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_);
    }
    if (kindCase_ == 208) {
      output.writeMessage(208, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_);
    }
    if (kindCase_ == 209) {
      output.writeMessage(209, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_);
    }
    if (kindCase_ == 210) {
      output.writeMessage(210, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 211) {
      output.writeMessage(211, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_);
    }
    if (kindCase_ == 300) {
      output.writeMessage(300, (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_);
    }
    if (kindCase_ == 301) {
      output.writeMessage(301, (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_);
    }
    if (kindCase_ == 302) {
      output.writeMessage(302, (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_);
    }
    if (kindCase_ == 303) {
      output.writeMessage(303, (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_);
    }
    if (kindCase_ == 304) {
      output.writeMessage(304, (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_);
    }
    if (kindCase_ == 305) {
      output.writeMessage(305, (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_);
    }
    if (kindCase_ == 400) {
      output.writeMessage(400, (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_);
    }
    if (kindCase_ == 401) {
      output.writeMessage(401, (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_);
    }
    if (kindCase_ == 402) {
      output.writeMessage(402, (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_);
    }
    if (kindCase_ == 403) {
      output.writeMessage(403, (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_);
    }
    if (kindCase_ == 500) {
      output.writeMessage(500, (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_);
    }
    if (kindCase_ == 501) {
      output.writeMessage(501, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_);
    }
    if (kindCase_ == 502) {
      output.writeMessage(502, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_);
    }
    if (kindCase_ == 503) {
      output.writeMessage(503, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 504) {
      output.writeMessage(504, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_);
    }
    if (kindCase_ == 505) {
      output.writeMessage(505, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_);
    }
    if (kindCase_ == 506) {
      output.writeMessage(506, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 507) {
      output.writeMessage(507, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_);
    }
    if (kindCase_ == 508) {
      output.writeMessage(508, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_);
    }
    if (kindCase_ == 509) {
      output.writeMessage(509, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_);
    }
    if (kindCase_ == 510) {
      output.writeMessage(510, (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 1000) {
      output.writeMessage(1000, (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_);
    }
    if (kindCase_ == 1001) {
      output.writeMessage(1001, (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_);
    }
    if (kindCase_ == 1002) {
      output.writeMessage(1002, (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, requestId_);
    }
    if (kindCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_);
    }
    if (kindCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_);
    }
    if (kindCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_);
    }
    if (kindCase_ == 6) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_);
    }
    if (kindCase_ == 7) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_);
    }
    if (kindCase_ == 8) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_);
    }
    if (kindCase_ == 9) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_);
    }
    if (kindCase_ == 10) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_);
    }
    if (kindCase_ == 11) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_);
    }
    if (kindCase_ == 12) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(12, (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_);
    }
    if (kindCase_ == 13) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(13, (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_);
    }
    if (kindCase_ == 14) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(14, (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_);
    }
    if (kindCase_ == 100) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(100, (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_);
    }
    if (kindCase_ == 101) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(101, (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_);
    }
    if (kindCase_ == 102) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(102, (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_);
    }
    if (kindCase_ == 103) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(103, (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_);
    }
    if (kindCase_ == 104) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(104, (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_);
    }
    if (kindCase_ == 105) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(105, (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_);
    }
    if (kindCase_ == 200) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(200, (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_);
    }
    if (kindCase_ == 201) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(201, (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 202) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(202, (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_);
    }
    if (kindCase_ == 203) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(203, (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 204) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(204, (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_);
    }
    if (kindCase_ == 205) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(205, (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_);
    }
    if (kindCase_ == 206) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(206, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_);
    }
    if (kindCase_ == 207) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(207, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_);
    }
    if (kindCase_ == 208) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(208, (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_);
    }
    if (kindCase_ == 209) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(209, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_);
    }
    if (kindCase_ == 210) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(210, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_);
    }
    if (kindCase_ == 211) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(211, (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_);
    }
    if (kindCase_ == 300) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(300, (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_);
    }
    if (kindCase_ == 301) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(301, (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_);
    }
    if (kindCase_ == 302) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(302, (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_);
    }
    if (kindCase_ == 303) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(303, (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_);
    }
    if (kindCase_ == 304) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(304, (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_);
    }
    if (kindCase_ == 305) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(305, (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_);
    }
    if (kindCase_ == 400) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(400, (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_);
    }
    if (kindCase_ == 401) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(401, (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_);
    }
    if (kindCase_ == 402) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(402, (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_);
    }
    if (kindCase_ == 403) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(403, (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_);
    }
    if (kindCase_ == 500) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(500, (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_);
    }
    if (kindCase_ == 501) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(501, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_);
    }
    if (kindCase_ == 502) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(502, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_);
    }
    if (kindCase_ == 503) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(503, (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 504) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(504, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_);
    }
    if (kindCase_ == 505) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(505, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_);
    }
    if (kindCase_ == 506) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(506, (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 507) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(507, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_);
    }
    if (kindCase_ == 508) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(508, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_);
    }
    if (kindCase_ == 509) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(509, (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_);
    }
    if (kindCase_ == 510) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(510, (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_);
    }
    if (kindCase_ == 1000) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1000, (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_);
    }
    if (kindCase_ == 1001) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1001, (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_);
    }
    if (kindCase_ == 1002) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1002, (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof im.turms.server.common.access.client.dto.request.TurmsRequest)) {
      return super.equals(obj);
    }
    im.turms.server.common.access.client.dto.request.TurmsRequest other = (im.turms.server.common.access.client.dto.request.TurmsRequest) obj;

    if (hasRequestId() != other.hasRequestId()) return false;
    if (hasRequestId()) {
      if (getRequestId()
          != other.getRequestId()) return false;
    }
    if (!getKindCase().equals(other.getKindCase())) return false;
    switch (kindCase_) {
      case 3:
        if (!getCreateSessionRequest()
            .equals(other.getCreateSessionRequest())) return false;
        break;
      case 4:
        if (!getDeleteSessionRequest()
            .equals(other.getDeleteSessionRequest())) return false;
        break;
      case 5:
        if (!getQueryConversationsRequest()
            .equals(other.getQueryConversationsRequest())) return false;
        break;
      case 6:
        if (!getUpdateConversationRequest()
            .equals(other.getUpdateConversationRequest())) return false;
        break;
      case 7:
        if (!getUpdateTypingStatusRequest()
            .equals(other.getUpdateTypingStatusRequest())) return false;
        break;
      case 8:
        if (!getCreateMessageRequest()
            .equals(other.getCreateMessageRequest())) return false;
        break;
      case 9:
        if (!getQueryMessagesRequest()
            .equals(other.getQueryMessagesRequest())) return false;
        break;
      case 10:
        if (!getUpdateMessageRequest()
            .equals(other.getUpdateMessageRequest())) return false;
        break;
      case 11:
        if (!getCreateGroupMemberRequest()
            .equals(other.getCreateGroupMemberRequest())) return false;
        break;
      case 12:
        if (!getDeleteGroupMemberRequest()
            .equals(other.getDeleteGroupMemberRequest())) return false;
        break;
      case 13:
        if (!getQueryGroupMembersRequest()
            .equals(other.getQueryGroupMembersRequest())) return false;
        break;
      case 14:
        if (!getUpdateGroupMemberRequest()
            .equals(other.getUpdateGroupMemberRequest())) return false;
        break;
      case 100:
        if (!getQueryUserProfileRequest()
            .equals(other.getQueryUserProfileRequest())) return false;
        break;
      case 101:
        if (!getQueryNearbyUsersRequest()
            .equals(other.getQueryNearbyUsersRequest())) return false;
        break;
      case 102:
        if (!getQueryUserOnlineStatusesRequest()
            .equals(other.getQueryUserOnlineStatusesRequest())) return false;
        break;
      case 103:
        if (!getUpdateUserLocationRequest()
            .equals(other.getUpdateUserLocationRequest())) return false;
        break;
      case 104:
        if (!getUpdateUserOnlineStatusRequest()
            .equals(other.getUpdateUserOnlineStatusRequest())) return false;
        break;
      case 105:
        if (!getUpdateUserRequest()
            .equals(other.getUpdateUserRequest())) return false;
        break;
      case 200:
        if (!getCreateFriendRequestRequest()
            .equals(other.getCreateFriendRequestRequest())) return false;
        break;
      case 201:
        if (!getCreateRelationshipGroupRequest()
            .equals(other.getCreateRelationshipGroupRequest())) return false;
        break;
      case 202:
        if (!getCreateRelationshipRequest()
            .equals(other.getCreateRelationshipRequest())) return false;
        break;
      case 203:
        if (!getDeleteRelationshipGroupRequest()
            .equals(other.getDeleteRelationshipGroupRequest())) return false;
        break;
      case 204:
        if (!getDeleteRelationshipRequest()
            .equals(other.getDeleteRelationshipRequest())) return false;
        break;
      case 205:
        if (!getQueryFriendRequestsRequest()
            .equals(other.getQueryFriendRequestsRequest())) return false;
        break;
      case 206:
        if (!getQueryRelatedUserIdsRequest()
            .equals(other.getQueryRelatedUserIdsRequest())) return false;
        break;
      case 207:
        if (!getQueryRelationshipGroupsRequest()
            .equals(other.getQueryRelationshipGroupsRequest())) return false;
        break;
      case 208:
        if (!getQueryRelationshipsRequest()
            .equals(other.getQueryRelationshipsRequest())) return false;
        break;
      case 209:
        if (!getUpdateFriendRequestRequest()
            .equals(other.getUpdateFriendRequestRequest())) return false;
        break;
      case 210:
        if (!getUpdateRelationshipGroupRequest()
            .equals(other.getUpdateRelationshipGroupRequest())) return false;
        break;
      case 211:
        if (!getUpdateRelationshipRequest()
            .equals(other.getUpdateRelationshipRequest())) return false;
        break;
      case 300:
        if (!getCreateGroupRequest()
            .equals(other.getCreateGroupRequest())) return false;
        break;
      case 301:
        if (!getDeleteGroupRequest()
            .equals(other.getDeleteGroupRequest())) return false;
        break;
      case 302:
        if (!getQueryGroupRequest()
            .equals(other.getQueryGroupRequest())) return false;
        break;
      case 303:
        if (!getQueryJoinedGroupIdsRequest()
            .equals(other.getQueryJoinedGroupIdsRequest())) return false;
        break;
      case 304:
        if (!getQueryJoinedGroupInfosRequest()
            .equals(other.getQueryJoinedGroupInfosRequest())) return false;
        break;
      case 305:
        if (!getUpdateGroupRequest()
            .equals(other.getUpdateGroupRequest())) return false;
        break;
      case 400:
        if (!getCreateGroupBlockedUserRequest()
            .equals(other.getCreateGroupBlockedUserRequest())) return false;
        break;
      case 401:
        if (!getDeleteGroupBlockedUserRequest()
            .equals(other.getDeleteGroupBlockedUserRequest())) return false;
        break;
      case 402:
        if (!getQueryGroupBlockedUserIdsRequest()
            .equals(other.getQueryGroupBlockedUserIdsRequest())) return false;
        break;
      case 403:
        if (!getQueryGroupBlockedUserInfosRequest()
            .equals(other.getQueryGroupBlockedUserInfosRequest())) return false;
        break;
      case 500:
        if (!getCheckGroupJoinQuestionsAnswersRequest()
            .equals(other.getCheckGroupJoinQuestionsAnswersRequest())) return false;
        break;
      case 501:
        if (!getCreateGroupInvitationRequest()
            .equals(other.getCreateGroupInvitationRequest())) return false;
        break;
      case 502:
        if (!getCreateGroupJoinRequestRequest()
            .equals(other.getCreateGroupJoinRequestRequest())) return false;
        break;
      case 503:
        if (!getCreateGroupJoinQuestionRequest()
            .equals(other.getCreateGroupJoinQuestionRequest())) return false;
        break;
      case 504:
        if (!getDeleteGroupInvitationRequest()
            .equals(other.getDeleteGroupInvitationRequest())) return false;
        break;
      case 505:
        if (!getDeleteGroupJoinRequestRequest()
            .equals(other.getDeleteGroupJoinRequestRequest())) return false;
        break;
      case 506:
        if (!getDeleteGroupJoinQuestionRequest()
            .equals(other.getDeleteGroupJoinQuestionRequest())) return false;
        break;
      case 507:
        if (!getQueryGroupInvitationsRequest()
            .equals(other.getQueryGroupInvitationsRequest())) return false;
        break;
      case 508:
        if (!getQueryGroupJoinRequestsRequest()
            .equals(other.getQueryGroupJoinRequestsRequest())) return false;
        break;
      case 509:
        if (!getQueryGroupJoinQuestionsRequest()
            .equals(other.getQueryGroupJoinQuestionsRequest())) return false;
        break;
      case 510:
        if (!getUpdateGroupJoinQuestionRequest()
            .equals(other.getUpdateGroupJoinQuestionRequest())) return false;
        break;
      case 1000:
        if (!getDeleteResourceRequest()
            .equals(other.getDeleteResourceRequest())) return false;
        break;
      case 1001:
        if (!getQuerySignedGetUrlRequest()
            .equals(other.getQuerySignedGetUrlRequest())) return false;
        break;
      case 1002:
        if (!getQuerySignedPutUrlRequest()
            .equals(other.getQuerySignedPutUrlRequest())) return false;
        break;
      case 0:
      default:
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasRequestId()) {
      hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getRequestId());
    }
    switch (kindCase_) {
      case 3:
        hash = (37 * hash) + CREATE_SESSION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateSessionRequest().hashCode();
        break;
      case 4:
        hash = (37 * hash) + DELETE_SESSION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteSessionRequest().hashCode();
        break;
      case 5:
        hash = (37 * hash) + QUERY_CONVERSATIONS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryConversationsRequest().hashCode();
        break;
      case 6:
        hash = (37 * hash) + UPDATE_CONVERSATION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateConversationRequest().hashCode();
        break;
      case 7:
        hash = (37 * hash) + UPDATE_TYPING_STATUS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateTypingStatusRequest().hashCode();
        break;
      case 8:
        hash = (37 * hash) + CREATE_MESSAGE_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateMessageRequest().hashCode();
        break;
      case 9:
        hash = (37 * hash) + QUERY_MESSAGES_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryMessagesRequest().hashCode();
        break;
      case 10:
        hash = (37 * hash) + UPDATE_MESSAGE_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateMessageRequest().hashCode();
        break;
      case 11:
        hash = (37 * hash) + CREATE_GROUP_MEMBER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupMemberRequest().hashCode();
        break;
      case 12:
        hash = (37 * hash) + DELETE_GROUP_MEMBER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupMemberRequest().hashCode();
        break;
      case 13:
        hash = (37 * hash) + QUERY_GROUP_MEMBERS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupMembersRequest().hashCode();
        break;
      case 14:
        hash = (37 * hash) + UPDATE_GROUP_MEMBER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateGroupMemberRequest().hashCode();
        break;
      case 100:
        hash = (37 * hash) + QUERY_USER_PROFILE_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryUserProfileRequest().hashCode();
        break;
      case 101:
        hash = (37 * hash) + QUERY_NEARBY_USERS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryNearbyUsersRequest().hashCode();
        break;
      case 102:
        hash = (37 * hash) + QUERY_USER_ONLINE_STATUSES_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryUserOnlineStatusesRequest().hashCode();
        break;
      case 103:
        hash = (37 * hash) + UPDATE_USER_LOCATION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateUserLocationRequest().hashCode();
        break;
      case 104:
        hash = (37 * hash) + UPDATE_USER_ONLINE_STATUS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateUserOnlineStatusRequest().hashCode();
        break;
      case 105:
        hash = (37 * hash) + UPDATE_USER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateUserRequest().hashCode();
        break;
      case 200:
        hash = (37 * hash) + CREATE_FRIEND_REQUEST_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateFriendRequestRequest().hashCode();
        break;
      case 201:
        hash = (37 * hash) + CREATE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateRelationshipGroupRequest().hashCode();
        break;
      case 202:
        hash = (37 * hash) + CREATE_RELATIONSHIP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateRelationshipRequest().hashCode();
        break;
      case 203:
        hash = (37 * hash) + DELETE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteRelationshipGroupRequest().hashCode();
        break;
      case 204:
        hash = (37 * hash) + DELETE_RELATIONSHIP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteRelationshipRequest().hashCode();
        break;
      case 205:
        hash = (37 * hash) + QUERY_FRIEND_REQUESTS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryFriendRequestsRequest().hashCode();
        break;
      case 206:
        hash = (37 * hash) + QUERY_RELATED_USER_IDS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryRelatedUserIdsRequest().hashCode();
        break;
      case 207:
        hash = (37 * hash) + QUERY_RELATIONSHIP_GROUPS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryRelationshipGroupsRequest().hashCode();
        break;
      case 208:
        hash = (37 * hash) + QUERY_RELATIONSHIPS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryRelationshipsRequest().hashCode();
        break;
      case 209:
        hash = (37 * hash) + UPDATE_FRIEND_REQUEST_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateFriendRequestRequest().hashCode();
        break;
      case 210:
        hash = (37 * hash) + UPDATE_RELATIONSHIP_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateRelationshipGroupRequest().hashCode();
        break;
      case 211:
        hash = (37 * hash) + UPDATE_RELATIONSHIP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateRelationshipRequest().hashCode();
        break;
      case 300:
        hash = (37 * hash) + CREATE_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupRequest().hashCode();
        break;
      case 301:
        hash = (37 * hash) + DELETE_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupRequest().hashCode();
        break;
      case 302:
        hash = (37 * hash) + QUERY_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupRequest().hashCode();
        break;
      case 303:
        hash = (37 * hash) + QUERY_JOINED_GROUP_IDS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryJoinedGroupIdsRequest().hashCode();
        break;
      case 304:
        hash = (37 * hash) + QUERY_JOINED_GROUP_INFOS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryJoinedGroupInfosRequest().hashCode();
        break;
      case 305:
        hash = (37 * hash) + UPDATE_GROUP_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateGroupRequest().hashCode();
        break;
      case 400:
        hash = (37 * hash) + CREATE_GROUP_BLOCKED_USER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupBlockedUserRequest().hashCode();
        break;
      case 401:
        hash = (37 * hash) + DELETE_GROUP_BLOCKED_USER_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupBlockedUserRequest().hashCode();
        break;
      case 402:
        hash = (37 * hash) + QUERY_GROUP_BLOCKED_USER_IDS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupBlockedUserIdsRequest().hashCode();
        break;
      case 403:
        hash = (37 * hash) + QUERY_GROUP_BLOCKED_USER_INFOS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupBlockedUserInfosRequest().hashCode();
        break;
      case 500:
        hash = (37 * hash) + CHECK_GROUP_JOIN_QUESTIONS_ANSWERS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCheckGroupJoinQuestionsAnswersRequest().hashCode();
        break;
      case 501:
        hash = (37 * hash) + CREATE_GROUP_INVITATION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupInvitationRequest().hashCode();
        break;
      case 502:
        hash = (37 * hash) + CREATE_GROUP_JOIN_REQUEST_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupJoinRequestRequest().hashCode();
        break;
      case 503:
        hash = (37 * hash) + CREATE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCreateGroupJoinQuestionRequest().hashCode();
        break;
      case 504:
        hash = (37 * hash) + DELETE_GROUP_INVITATION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupInvitationRequest().hashCode();
        break;
      case 505:
        hash = (37 * hash) + DELETE_GROUP_JOIN_REQUEST_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupJoinRequestRequest().hashCode();
        break;
      case 506:
        hash = (37 * hash) + DELETE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteGroupJoinQuestionRequest().hashCode();
        break;
      case 507:
        hash = (37 * hash) + QUERY_GROUP_INVITATIONS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupInvitationsRequest().hashCode();
        break;
      case 508:
        hash = (37 * hash) + QUERY_GROUP_JOIN_REQUESTS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupJoinRequestsRequest().hashCode();
        break;
      case 509:
        hash = (37 * hash) + QUERY_GROUP_JOIN_QUESTIONS_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQueryGroupJoinQuestionsRequest().hashCode();
        break;
      case 510:
        hash = (37 * hash) + UPDATE_GROUP_JOIN_QUESTION_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getUpdateGroupJoinQuestionRequest().hashCode();
        break;
      case 1000:
        hash = (37 * hash) + DELETE_RESOURCE_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteResourceRequest().hashCode();
        break;
      case 1001:
        hash = (37 * hash) + QUERY_SIGNED_GET_URL_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQuerySignedGetUrlRequest().hashCode();
        break;
      case 1002:
        hash = (37 * hash) + QUERY_SIGNED_PUT_URL_REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQuerySignedPutUrlRequest().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static im.turms.server.common.access.client.dto.request.TurmsRequest parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(im.turms.server.common.access.client.dto.request.TurmsRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * Client -&gt; Server -&gt; Client
   * </pre>
   *
   * Protobuf type {@code im.turms.proto.TurmsRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:im.turms.proto.TurmsRequest)
      im.turms.server.common.access.client.dto.request.TurmsRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return im.turms.server.common.access.client.dto.request.TurmsRequestOuterClass.internal_static_im_turms_proto_TurmsRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return im.turms.server.common.access.client.dto.request.TurmsRequestOuterClass.internal_static_im_turms_proto_TurmsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              im.turms.server.common.access.client.dto.request.TurmsRequest.class, im.turms.server.common.access.client.dto.request.TurmsRequest.Builder.class);
    }

    // Construct using im.turms.server.common.access.client.dto.request.TurmsRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      requestId_ = 0L;
      bitField0_ = (bitField0_ & ~0x00000001);
      kindCase_ = 0;
      kind_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return im.turms.server.common.access.client.dto.request.TurmsRequestOuterClass.internal_static_im_turms_proto_TurmsRequest_descriptor;
    }

    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.TurmsRequest getDefaultInstanceForType() {
      return im.turms.server.common.access.client.dto.request.TurmsRequest.getDefaultInstance();
    }

    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.TurmsRequest build() {
      im.turms.server.common.access.client.dto.request.TurmsRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.TurmsRequest buildPartial() {
      im.turms.server.common.access.client.dto.request.TurmsRequest result = new im.turms.server.common.access.client.dto.request.TurmsRequest(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.requestId_ = requestId_;
        to_bitField0_ |= 0x00000001;
      }
      switch (kindCase_) {
        case 3:
          if (createSessionRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createSessionRequestBuilder_.build();
          }
          break;
        case 4:
          if (deleteSessionRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteSessionRequestBuilder_.build();
          }
          break;
        case 5:
          if (queryConversationsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryConversationsRequestBuilder_.build();
          }
          break;
        case 6:
          if (updateConversationRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateConversationRequestBuilder_.build();
          }
          break;
        case 7:
          if (updateTypingStatusRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateTypingStatusRequestBuilder_.build();
          }
          break;
        case 8:
          if (createMessageRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createMessageRequestBuilder_.build();
          }
          break;
        case 9:
          if (queryMessagesRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryMessagesRequestBuilder_.build();
          }
          break;
        case 10:
          if (updateMessageRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateMessageRequestBuilder_.build();
          }
          break;
        case 11:
          if (createGroupMemberRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupMemberRequestBuilder_.build();
          }
          break;
        case 12:
          if (deleteGroupMemberRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupMemberRequestBuilder_.build();
          }
          break;
        case 13:
          if (queryGroupMembersRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupMembersRequestBuilder_.build();
          }
          break;
        case 14:
          if (updateGroupMemberRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateGroupMemberRequestBuilder_.build();
          }
          break;
        case 100:
          if (queryUserProfileRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryUserProfileRequestBuilder_.build();
          }
          break;
        case 101:
          if (queryNearbyUsersRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryNearbyUsersRequestBuilder_.build();
          }
          break;
        case 102:
          if (queryUserOnlineStatusesRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryUserOnlineStatusesRequestBuilder_.build();
          }
          break;
        case 103:
          if (updateUserLocationRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateUserLocationRequestBuilder_.build();
          }
          break;
        case 104:
          if (updateUserOnlineStatusRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateUserOnlineStatusRequestBuilder_.build();
          }
          break;
        case 105:
          if (updateUserRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateUserRequestBuilder_.build();
          }
          break;
        case 200:
          if (createFriendRequestRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createFriendRequestRequestBuilder_.build();
          }
          break;
        case 201:
          if (createRelationshipGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createRelationshipGroupRequestBuilder_.build();
          }
          break;
        case 202:
          if (createRelationshipRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createRelationshipRequestBuilder_.build();
          }
          break;
        case 203:
          if (deleteRelationshipGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteRelationshipGroupRequestBuilder_.build();
          }
          break;
        case 204:
          if (deleteRelationshipRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteRelationshipRequestBuilder_.build();
          }
          break;
        case 205:
          if (queryFriendRequestsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryFriendRequestsRequestBuilder_.build();
          }
          break;
        case 206:
          if (queryRelatedUserIdsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryRelatedUserIdsRequestBuilder_.build();
          }
          break;
        case 207:
          if (queryRelationshipGroupsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryRelationshipGroupsRequestBuilder_.build();
          }
          break;
        case 208:
          if (queryRelationshipsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryRelationshipsRequestBuilder_.build();
          }
          break;
        case 209:
          if (updateFriendRequestRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateFriendRequestRequestBuilder_.build();
          }
          break;
        case 210:
          if (updateRelationshipGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateRelationshipGroupRequestBuilder_.build();
          }
          break;
        case 211:
          if (updateRelationshipRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateRelationshipRequestBuilder_.build();
          }
          break;
        case 300:
          if (createGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupRequestBuilder_.build();
          }
          break;
        case 301:
          if (deleteGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupRequestBuilder_.build();
          }
          break;
        case 302:
          if (queryGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupRequestBuilder_.build();
          }
          break;
        case 303:
          if (queryJoinedGroupIdsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryJoinedGroupIdsRequestBuilder_.build();
          }
          break;
        case 304:
          if (queryJoinedGroupInfosRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryJoinedGroupInfosRequestBuilder_.build();
          }
          break;
        case 305:
          if (updateGroupRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateGroupRequestBuilder_.build();
          }
          break;
        case 400:
          if (createGroupBlockedUserRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupBlockedUserRequestBuilder_.build();
          }
          break;
        case 401:
          if (deleteGroupBlockedUserRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupBlockedUserRequestBuilder_.build();
          }
          break;
        case 402:
          if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupBlockedUserIdsRequestBuilder_.build();
          }
          break;
        case 403:
          if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupBlockedUserInfosRequestBuilder_.build();
          }
          break;
        case 500:
          if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = checkGroupJoinQuestionsAnswersRequestBuilder_.build();
          }
          break;
        case 501:
          if (createGroupInvitationRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupInvitationRequestBuilder_.build();
          }
          break;
        case 502:
          if (createGroupJoinRequestRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupJoinRequestRequestBuilder_.build();
          }
          break;
        case 503:
          if (createGroupJoinQuestionRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = createGroupJoinQuestionRequestBuilder_.build();
          }
          break;
        case 504:
          if (deleteGroupInvitationRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupInvitationRequestBuilder_.build();
          }
          break;
        case 505:
          if (deleteGroupJoinRequestRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupJoinRequestRequestBuilder_.build();
          }
          break;
        case 506:
          if (deleteGroupJoinQuestionRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteGroupJoinQuestionRequestBuilder_.build();
          }
          break;
        case 507:
          if (queryGroupInvitationsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupInvitationsRequestBuilder_.build();
          }
          break;
        case 508:
          if (queryGroupJoinRequestsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupJoinRequestsRequestBuilder_.build();
          }
          break;
        case 509:
          if (queryGroupJoinQuestionsRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = queryGroupJoinQuestionsRequestBuilder_.build();
          }
          break;
        case 510:
          if (updateGroupJoinQuestionRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = updateGroupJoinQuestionRequestBuilder_.build();
          }
          break;
        case 1000:
          if (deleteResourceRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = deleteResourceRequestBuilder_.build();
          }
          break;
        case 1001:
          if (querySignedGetUrlRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = querySignedGetUrlRequestBuilder_.build();
          }
          break;
        case 1002:
          if (querySignedPutUrlRequestBuilder_ == null) {
            result.kind_ = kind_;
          } else {
            result.kind_ = querySignedPutUrlRequestBuilder_.build();
          }
          break;
      }
      result.bitField0_ = to_bitField0_;
      result.kindCase_ = kindCase_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof im.turms.server.common.access.client.dto.request.TurmsRequest) {
        return mergeFrom((im.turms.server.common.access.client.dto.request.TurmsRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(im.turms.server.common.access.client.dto.request.TurmsRequest other) {
      if (other == im.turms.server.common.access.client.dto.request.TurmsRequest.getDefaultInstance()) return this;
      if (other.hasRequestId()) {
        setRequestId(other.getRequestId());
      }
      switch (other.getKindCase()) {
        case CREATE_SESSION_REQUEST: {
          mergeCreateSessionRequest(other.getCreateSessionRequest());
          break;
        }
        case DELETE_SESSION_REQUEST: {
          mergeDeleteSessionRequest(other.getDeleteSessionRequest());
          break;
        }
        case QUERY_CONVERSATIONS_REQUEST: {
          mergeQueryConversationsRequest(other.getQueryConversationsRequest());
          break;
        }
        case UPDATE_CONVERSATION_REQUEST: {
          mergeUpdateConversationRequest(other.getUpdateConversationRequest());
          break;
        }
        case UPDATE_TYPING_STATUS_REQUEST: {
          mergeUpdateTypingStatusRequest(other.getUpdateTypingStatusRequest());
          break;
        }
        case CREATE_MESSAGE_REQUEST: {
          mergeCreateMessageRequest(other.getCreateMessageRequest());
          break;
        }
        case QUERY_MESSAGES_REQUEST: {
          mergeQueryMessagesRequest(other.getQueryMessagesRequest());
          break;
        }
        case UPDATE_MESSAGE_REQUEST: {
          mergeUpdateMessageRequest(other.getUpdateMessageRequest());
          break;
        }
        case CREATE_GROUP_MEMBER_REQUEST: {
          mergeCreateGroupMemberRequest(other.getCreateGroupMemberRequest());
          break;
        }
        case DELETE_GROUP_MEMBER_REQUEST: {
          mergeDeleteGroupMemberRequest(other.getDeleteGroupMemberRequest());
          break;
        }
        case QUERY_GROUP_MEMBERS_REQUEST: {
          mergeQueryGroupMembersRequest(other.getQueryGroupMembersRequest());
          break;
        }
        case UPDATE_GROUP_MEMBER_REQUEST: {
          mergeUpdateGroupMemberRequest(other.getUpdateGroupMemberRequest());
          break;
        }
        case QUERY_USER_PROFILE_REQUEST: {
          mergeQueryUserProfileRequest(other.getQueryUserProfileRequest());
          break;
        }
        case QUERY_NEARBY_USERS_REQUEST: {
          mergeQueryNearbyUsersRequest(other.getQueryNearbyUsersRequest());
          break;
        }
        case QUERY_USER_ONLINE_STATUSES_REQUEST: {
          mergeQueryUserOnlineStatusesRequest(other.getQueryUserOnlineStatusesRequest());
          break;
        }
        case UPDATE_USER_LOCATION_REQUEST: {
          mergeUpdateUserLocationRequest(other.getUpdateUserLocationRequest());
          break;
        }
        case UPDATE_USER_ONLINE_STATUS_REQUEST: {
          mergeUpdateUserOnlineStatusRequest(other.getUpdateUserOnlineStatusRequest());
          break;
        }
        case UPDATE_USER_REQUEST: {
          mergeUpdateUserRequest(other.getUpdateUserRequest());
          break;
        }
        case CREATE_FRIEND_REQUEST_REQUEST: {
          mergeCreateFriendRequestRequest(other.getCreateFriendRequestRequest());
          break;
        }
        case CREATE_RELATIONSHIP_GROUP_REQUEST: {
          mergeCreateRelationshipGroupRequest(other.getCreateRelationshipGroupRequest());
          break;
        }
        case CREATE_RELATIONSHIP_REQUEST: {
          mergeCreateRelationshipRequest(other.getCreateRelationshipRequest());
          break;
        }
        case DELETE_RELATIONSHIP_GROUP_REQUEST: {
          mergeDeleteRelationshipGroupRequest(other.getDeleteRelationshipGroupRequest());
          break;
        }
        case DELETE_RELATIONSHIP_REQUEST: {
          mergeDeleteRelationshipRequest(other.getDeleteRelationshipRequest());
          break;
        }
        case QUERY_FRIEND_REQUESTS_REQUEST: {
          mergeQueryFriendRequestsRequest(other.getQueryFriendRequestsRequest());
          break;
        }
        case QUERY_RELATED_USER_IDS_REQUEST: {
          mergeQueryRelatedUserIdsRequest(other.getQueryRelatedUserIdsRequest());
          break;
        }
        case QUERY_RELATIONSHIP_GROUPS_REQUEST: {
          mergeQueryRelationshipGroupsRequest(other.getQueryRelationshipGroupsRequest());
          break;
        }
        case QUERY_RELATIONSHIPS_REQUEST: {
          mergeQueryRelationshipsRequest(other.getQueryRelationshipsRequest());
          break;
        }
        case UPDATE_FRIEND_REQUEST_REQUEST: {
          mergeUpdateFriendRequestRequest(other.getUpdateFriendRequestRequest());
          break;
        }
        case UPDATE_RELATIONSHIP_GROUP_REQUEST: {
          mergeUpdateRelationshipGroupRequest(other.getUpdateRelationshipGroupRequest());
          break;
        }
        case UPDATE_RELATIONSHIP_REQUEST: {
          mergeUpdateRelationshipRequest(other.getUpdateRelationshipRequest());
          break;
        }
        case CREATE_GROUP_REQUEST: {
          mergeCreateGroupRequest(other.getCreateGroupRequest());
          break;
        }
        case DELETE_GROUP_REQUEST: {
          mergeDeleteGroupRequest(other.getDeleteGroupRequest());
          break;
        }
        case QUERY_GROUP_REQUEST: {
          mergeQueryGroupRequest(other.getQueryGroupRequest());
          break;
        }
        case QUERY_JOINED_GROUP_IDS_REQUEST: {
          mergeQueryJoinedGroupIdsRequest(other.getQueryJoinedGroupIdsRequest());
          break;
        }
        case QUERY_JOINED_GROUP_INFOS_REQUEST: {
          mergeQueryJoinedGroupInfosRequest(other.getQueryJoinedGroupInfosRequest());
          break;
        }
        case UPDATE_GROUP_REQUEST: {
          mergeUpdateGroupRequest(other.getUpdateGroupRequest());
          break;
        }
        case CREATE_GROUP_BLOCKED_USER_REQUEST: {
          mergeCreateGroupBlockedUserRequest(other.getCreateGroupBlockedUserRequest());
          break;
        }
        case DELETE_GROUP_BLOCKED_USER_REQUEST: {
          mergeDeleteGroupBlockedUserRequest(other.getDeleteGroupBlockedUserRequest());
          break;
        }
        case QUERY_GROUP_BLOCKED_USER_IDS_REQUEST: {
          mergeQueryGroupBlockedUserIdsRequest(other.getQueryGroupBlockedUserIdsRequest());
          break;
        }
        case QUERY_GROUP_BLOCKED_USER_INFOS_REQUEST: {
          mergeQueryGroupBlockedUserInfosRequest(other.getQueryGroupBlockedUserInfosRequest());
          break;
        }
        case CHECK_GROUP_JOIN_QUESTIONS_ANSWERS_REQUEST: {
          mergeCheckGroupJoinQuestionsAnswersRequest(other.getCheckGroupJoinQuestionsAnswersRequest());
          break;
        }
        case CREATE_GROUP_INVITATION_REQUEST: {
          mergeCreateGroupInvitationRequest(other.getCreateGroupInvitationRequest());
          break;
        }
        case CREATE_GROUP_JOIN_REQUEST_REQUEST: {
          mergeCreateGroupJoinRequestRequest(other.getCreateGroupJoinRequestRequest());
          break;
        }
        case CREATE_GROUP_JOIN_QUESTION_REQUEST: {
          mergeCreateGroupJoinQuestionRequest(other.getCreateGroupJoinQuestionRequest());
          break;
        }
        case DELETE_GROUP_INVITATION_REQUEST: {
          mergeDeleteGroupInvitationRequest(other.getDeleteGroupInvitationRequest());
          break;
        }
        case DELETE_GROUP_JOIN_REQUEST_REQUEST: {
          mergeDeleteGroupJoinRequestRequest(other.getDeleteGroupJoinRequestRequest());
          break;
        }
        case DELETE_GROUP_JOIN_QUESTION_REQUEST: {
          mergeDeleteGroupJoinQuestionRequest(other.getDeleteGroupJoinQuestionRequest());
          break;
        }
        case QUERY_GROUP_INVITATIONS_REQUEST: {
          mergeQueryGroupInvitationsRequest(other.getQueryGroupInvitationsRequest());
          break;
        }
        case QUERY_GROUP_JOIN_REQUESTS_REQUEST: {
          mergeQueryGroupJoinRequestsRequest(other.getQueryGroupJoinRequestsRequest());
          break;
        }
        case QUERY_GROUP_JOIN_QUESTIONS_REQUEST: {
          mergeQueryGroupJoinQuestionsRequest(other.getQueryGroupJoinQuestionsRequest());
          break;
        }
        case UPDATE_GROUP_JOIN_QUESTION_REQUEST: {
          mergeUpdateGroupJoinQuestionRequest(other.getUpdateGroupJoinQuestionRequest());
          break;
        }
        case DELETE_RESOURCE_REQUEST: {
          mergeDeleteResourceRequest(other.getDeleteResourceRequest());
          break;
        }
        case QUERY_SIGNED_GET_URL_REQUEST: {
          mergeQuerySignedGetUrlRequest(other.getQuerySignedGetUrlRequest());
          break;
        }
        case QUERY_SIGNED_PUT_URL_REQUEST: {
          mergeQuerySignedPutUrlRequest(other.getQuerySignedPutUrlRequest());
          break;
        }
        case KIND_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      im.turms.server.common.access.client.dto.request.TurmsRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (im.turms.server.common.access.client.dto.request.TurmsRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int kindCase_ = 0;
    private java.lang.Object kind_;
    public KindCase
        getKindCase() {
      return KindCase.forNumber(
          kindCase_);
    }

    public Builder clearKind() {
      kindCase_ = 0;
      kind_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private long requestId_ ;
    /**
     * <pre>
     * Note: request_id is allowed to be duplicate because
     * it is used for clients to identify the response of the same request id in a session
     * </pre>
     *
     * <code>optional int64 request_id = 1;</code>
     * @return Whether the requestId field is set.
     */
    @java.lang.Override
    public boolean hasRequestId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * Note: request_id is allowed to be duplicate because
     * it is used for clients to identify the response of the same request id in a session
     * </pre>
     *
     * <code>optional int64 request_id = 1;</code>
     * @return The requestId.
     */
    @java.lang.Override
    public long getRequestId() {
      return requestId_;
    }
    /**
     * <pre>
     * Note: request_id is allowed to be duplicate because
     * it is used for clients to identify the response of the same request id in a session
     * </pre>
     *
     * <code>optional int64 request_id = 1;</code>
     * @param value The requestId to set.
     * @return This builder for chaining.
     */
    public Builder setRequestId(long value) {
      bitField0_ |= 0x00000001;
      requestId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Note: request_id is allowed to be duplicate because
     * it is used for clients to identify the response of the same request id in a session
     * </pre>
     *
     * <code>optional int64 request_id = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearRequestId() {
      bitField0_ = (bitField0_ & ~0x00000001);
      requestId_ = 0L;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.CreateSessionRequest, im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.CreateSessionRequestOrBuilder> createSessionRequestBuilder_;
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     * @return Whether the createSessionRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateSessionRequest() {
      return kindCase_ == 3;
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     * @return The createSessionRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.CreateSessionRequest getCreateSessionRequest() {
      if (createSessionRequestBuilder_ == null) {
        if (kindCase_ == 3) {
          return (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 3) {
          return createSessionRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    public Builder setCreateSessionRequest(im.turms.server.common.access.client.dto.request.user.CreateSessionRequest value) {
      if (createSessionRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createSessionRequestBuilder_.setMessage(value);
      }
      kindCase_ = 3;
      return this;
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    public Builder setCreateSessionRequest(
        im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder builderForValue) {
      if (createSessionRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createSessionRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 3;
      return this;
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    public Builder mergeCreateSessionRequest(im.turms.server.common.access.client.dto.request.user.CreateSessionRequest value) {
      if (createSessionRequestBuilder_ == null) {
        if (kindCase_ == 3 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 3) {
          createSessionRequestBuilder_.mergeFrom(value);
        } else {
          createSessionRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 3;
      return this;
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    public Builder clearCreateSessionRequest() {
      if (createSessionRequestBuilder_ == null) {
        if (kindCase_ == 3) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 3) {
          kindCase_ = 0;
          kind_ = null;
        }
        createSessionRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder getCreateSessionRequestBuilder() {
      return getCreateSessionRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.CreateSessionRequestOrBuilder getCreateSessionRequestOrBuilder() {
      if ((kindCase_ == 3) && (createSessionRequestBuilder_ != null)) {
        return createSessionRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 3) {
          return (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User - Session
     * </pre>
     *
     * <code>.im.turms.proto.CreateSessionRequest create_session_request = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.CreateSessionRequest, im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.CreateSessionRequestOrBuilder> 
        getCreateSessionRequestFieldBuilder() {
      if (createSessionRequestBuilder_ == null) {
        if (!(kindCase_ == 3)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.getDefaultInstance();
        }
        createSessionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.CreateSessionRequest, im.turms.server.common.access.client.dto.request.user.CreateSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.CreateSessionRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.CreateSessionRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 3;
      onChanged();;
      return createSessionRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequestOrBuilder> deleteSessionRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     * @return Whether the deleteSessionRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteSessionRequest() {
      return kindCase_ == 4;
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     * @return The deleteSessionRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest getDeleteSessionRequest() {
      if (deleteSessionRequestBuilder_ == null) {
        if (kindCase_ == 4) {
          return (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 4) {
          return deleteSessionRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    public Builder setDeleteSessionRequest(im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest value) {
      if (deleteSessionRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteSessionRequestBuilder_.setMessage(value);
      }
      kindCase_ = 4;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    public Builder setDeleteSessionRequest(
        im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder builderForValue) {
      if (deleteSessionRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteSessionRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 4;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    public Builder mergeDeleteSessionRequest(im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest value) {
      if (deleteSessionRequestBuilder_ == null) {
        if (kindCase_ == 4 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 4) {
          deleteSessionRequestBuilder_.mergeFrom(value);
        } else {
          deleteSessionRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 4;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    public Builder clearDeleteSessionRequest() {
      if (deleteSessionRequestBuilder_ == null) {
        if (kindCase_ == 4) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 4) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteSessionRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder getDeleteSessionRequestBuilder() {
      return getDeleteSessionRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.DeleteSessionRequestOrBuilder getDeleteSessionRequestOrBuilder() {
      if ((kindCase_ == 4) && (deleteSessionRequestBuilder_ != null)) {
        return deleteSessionRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 4) {
          return (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteSessionRequest delete_session_request = 4;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequestOrBuilder> 
        getDeleteSessionRequestFieldBuilder() {
      if (deleteSessionRequestBuilder_ == null) {
        if (!(kindCase_ == 4)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.getDefaultInstance();
        }
        deleteSessionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest.Builder, im.turms.server.common.access.client.dto.request.user.DeleteSessionRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.DeleteSessionRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 4;
      onChanged();;
      return deleteSessionRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequestOrBuilder> queryConversationsRequestBuilder_;
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     * @return Whether the queryConversationsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryConversationsRequest() {
      return kindCase_ == 5;
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     * @return The queryConversationsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest getQueryConversationsRequest() {
      if (queryConversationsRequestBuilder_ == null) {
        if (kindCase_ == 5) {
          return (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 5) {
          return queryConversationsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    public Builder setQueryConversationsRequest(im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest value) {
      if (queryConversationsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryConversationsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 5;
      return this;
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    public Builder setQueryConversationsRequest(
        im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder builderForValue) {
      if (queryConversationsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryConversationsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 5;
      return this;
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    public Builder mergeQueryConversationsRequest(im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest value) {
      if (queryConversationsRequestBuilder_ == null) {
        if (kindCase_ == 5 &&
            kind_ != im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.newBuilder((im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 5) {
          queryConversationsRequestBuilder_.mergeFrom(value);
        } else {
          queryConversationsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 5;
      return this;
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    public Builder clearQueryConversationsRequest() {
      if (queryConversationsRequestBuilder_ == null) {
        if (kindCase_ == 5) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 5) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryConversationsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    public im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder getQueryConversationsRequestBuilder() {
      return getQueryConversationsRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequestOrBuilder getQueryConversationsRequestOrBuilder() {
      if ((kindCase_ == 5) && (queryConversationsRequestBuilder_ != null)) {
        return queryConversationsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 5) {
          return (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Conversation
     * </pre>
     *
     * <code>.im.turms.proto.QueryConversationsRequest query_conversations_request = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequestOrBuilder> 
        getQueryConversationsRequestFieldBuilder() {
      if (queryConversationsRequestBuilder_ == null) {
        if (!(kindCase_ == 5)) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.getDefaultInstance();
        }
        queryConversationsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.conversation.QueryConversationsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 5;
      onChanged();;
      return queryConversationsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequestOrBuilder> updateConversationRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     * @return Whether the updateConversationRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateConversationRequest() {
      return kindCase_ == 6;
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     * @return The updateConversationRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest getUpdateConversationRequest() {
      if (updateConversationRequestBuilder_ == null) {
        if (kindCase_ == 6) {
          return (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 6) {
          return updateConversationRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    public Builder setUpdateConversationRequest(im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest value) {
      if (updateConversationRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateConversationRequestBuilder_.setMessage(value);
      }
      kindCase_ = 6;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    public Builder setUpdateConversationRequest(
        im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder builderForValue) {
      if (updateConversationRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateConversationRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 6;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    public Builder mergeUpdateConversationRequest(im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest value) {
      if (updateConversationRequestBuilder_ == null) {
        if (kindCase_ == 6 &&
            kind_ != im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.newBuilder((im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 6) {
          updateConversationRequestBuilder_.mergeFrom(value);
        } else {
          updateConversationRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 6;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    public Builder clearUpdateConversationRequest() {
      if (updateConversationRequestBuilder_ == null) {
        if (kindCase_ == 6) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 6) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateConversationRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    public im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder getUpdateConversationRequestBuilder() {
      return getUpdateConversationRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequestOrBuilder getUpdateConversationRequestOrBuilder() {
      if ((kindCase_ == 6) && (updateConversationRequestBuilder_ != null)) {
        return updateConversationRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 6) {
          return (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateConversationRequest update_conversation_request = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequestOrBuilder> 
        getUpdateConversationRequestFieldBuilder() {
      if (updateConversationRequestBuilder_ == null) {
        if (!(kindCase_ == 6)) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.getDefaultInstance();
        }
        updateConversationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.conversation.UpdateConversationRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 6;
      onChanged();;
      return updateConversationRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequestOrBuilder> updateTypingStatusRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     * @return Whether the updateTypingStatusRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateTypingStatusRequest() {
      return kindCase_ == 7;
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     * @return The updateTypingStatusRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest getUpdateTypingStatusRequest() {
      if (updateTypingStatusRequestBuilder_ == null) {
        if (kindCase_ == 7) {
          return (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 7) {
          return updateTypingStatusRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    public Builder setUpdateTypingStatusRequest(im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest value) {
      if (updateTypingStatusRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateTypingStatusRequestBuilder_.setMessage(value);
      }
      kindCase_ = 7;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    public Builder setUpdateTypingStatusRequest(
        im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder builderForValue) {
      if (updateTypingStatusRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateTypingStatusRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 7;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    public Builder mergeUpdateTypingStatusRequest(im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest value) {
      if (updateTypingStatusRequestBuilder_ == null) {
        if (kindCase_ == 7 &&
            kind_ != im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.newBuilder((im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 7) {
          updateTypingStatusRequestBuilder_.mergeFrom(value);
        } else {
          updateTypingStatusRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 7;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    public Builder clearUpdateTypingStatusRequest() {
      if (updateTypingStatusRequestBuilder_ == null) {
        if (kindCase_ == 7) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 7) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateTypingStatusRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    public im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder getUpdateTypingStatusRequestBuilder() {
      return getUpdateTypingStatusRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequestOrBuilder getUpdateTypingStatusRequestOrBuilder() {
      if ((kindCase_ == 7) && (updateTypingStatusRequestBuilder_ != null)) {
        return updateTypingStatusRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 7) {
          return (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateTypingStatusRequest update_typing_status_request = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequestOrBuilder> 
        getUpdateTypingStatusRequestFieldBuilder() {
      if (updateTypingStatusRequestBuilder_ == null) {
        if (!(kindCase_ == 7)) {
          kind_ = im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.getDefaultInstance();
        }
        updateTypingStatusRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest.Builder, im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.conversation.UpdateTypingStatusRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 7;
      onChanged();;
      return updateTypingStatusRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.CreateMessageRequest, im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.CreateMessageRequestOrBuilder> createMessageRequestBuilder_;
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     * @return Whether the createMessageRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateMessageRequest() {
      return kindCase_ == 8;
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     * @return The createMessageRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.CreateMessageRequest getCreateMessageRequest() {
      if (createMessageRequestBuilder_ == null) {
        if (kindCase_ == 8) {
          return (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 8) {
          return createMessageRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    public Builder setCreateMessageRequest(im.turms.server.common.access.client.dto.request.message.CreateMessageRequest value) {
      if (createMessageRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createMessageRequestBuilder_.setMessage(value);
      }
      kindCase_ = 8;
      return this;
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    public Builder setCreateMessageRequest(
        im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder builderForValue) {
      if (createMessageRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createMessageRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 8;
      return this;
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    public Builder mergeCreateMessageRequest(im.turms.server.common.access.client.dto.request.message.CreateMessageRequest value) {
      if (createMessageRequestBuilder_ == null) {
        if (kindCase_ == 8 &&
            kind_ != im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.newBuilder((im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 8) {
          createMessageRequestBuilder_.mergeFrom(value);
        } else {
          createMessageRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 8;
      return this;
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    public Builder clearCreateMessageRequest() {
      if (createMessageRequestBuilder_ == null) {
        if (kindCase_ == 8) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 8) {
          kindCase_ = 0;
          kind_ = null;
        }
        createMessageRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    public im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder getCreateMessageRequestBuilder() {
      return getCreateMessageRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.CreateMessageRequestOrBuilder getCreateMessageRequestOrBuilder() {
      if ((kindCase_ == 8) && (createMessageRequestBuilder_ != null)) {
        return createMessageRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 8) {
          return (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Message
     * </pre>
     *
     * <code>.im.turms.proto.CreateMessageRequest create_message_request = 8;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.CreateMessageRequest, im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.CreateMessageRequestOrBuilder> 
        getCreateMessageRequestFieldBuilder() {
      if (createMessageRequestBuilder_ == null) {
        if (!(kindCase_ == 8)) {
          kind_ = im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.getDefaultInstance();
        }
        createMessageRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.message.CreateMessageRequest, im.turms.server.common.access.client.dto.request.message.CreateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.CreateMessageRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.message.CreateMessageRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 8;
      onChanged();;
      return createMessageRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequestOrBuilder> queryMessagesRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     * @return Whether the queryMessagesRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryMessagesRequest() {
      return kindCase_ == 9;
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     * @return The queryMessagesRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest getQueryMessagesRequest() {
      if (queryMessagesRequestBuilder_ == null) {
        if (kindCase_ == 9) {
          return (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 9) {
          return queryMessagesRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    public Builder setQueryMessagesRequest(im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest value) {
      if (queryMessagesRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryMessagesRequestBuilder_.setMessage(value);
      }
      kindCase_ = 9;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    public Builder setQueryMessagesRequest(
        im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder builderForValue) {
      if (queryMessagesRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryMessagesRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 9;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    public Builder mergeQueryMessagesRequest(im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest value) {
      if (queryMessagesRequestBuilder_ == null) {
        if (kindCase_ == 9 &&
            kind_ != im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.newBuilder((im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 9) {
          queryMessagesRequestBuilder_.mergeFrom(value);
        } else {
          queryMessagesRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 9;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    public Builder clearQueryMessagesRequest() {
      if (queryMessagesRequestBuilder_ == null) {
        if (kindCase_ == 9) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 9) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryMessagesRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    public im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder getQueryMessagesRequestBuilder() {
      return getQueryMessagesRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.QueryMessagesRequestOrBuilder getQueryMessagesRequestOrBuilder() {
      if ((kindCase_ == 9) && (queryMessagesRequestBuilder_ != null)) {
        return queryMessagesRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 9) {
          return (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryMessagesRequest query_messages_request = 9;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequestOrBuilder> 
        getQueryMessagesRequestFieldBuilder() {
      if (queryMessagesRequestBuilder_ == null) {
        if (!(kindCase_ == 9)) {
          kind_ = im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.getDefaultInstance();
        }
        queryMessagesRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest.Builder, im.turms.server.common.access.client.dto.request.message.QueryMessagesRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 9;
      onChanged();;
      return queryMessagesRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequestOrBuilder> updateMessageRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     * @return Whether the updateMessageRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateMessageRequest() {
      return kindCase_ == 10;
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     * @return The updateMessageRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest getUpdateMessageRequest() {
      if (updateMessageRequestBuilder_ == null) {
        if (kindCase_ == 10) {
          return (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 10) {
          return updateMessageRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    public Builder setUpdateMessageRequest(im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest value) {
      if (updateMessageRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateMessageRequestBuilder_.setMessage(value);
      }
      kindCase_ = 10;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    public Builder setUpdateMessageRequest(
        im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder builderForValue) {
      if (updateMessageRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateMessageRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 10;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    public Builder mergeUpdateMessageRequest(im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest value) {
      if (updateMessageRequestBuilder_ == null) {
        if (kindCase_ == 10 &&
            kind_ != im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.newBuilder((im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 10) {
          updateMessageRequestBuilder_.mergeFrom(value);
        } else {
          updateMessageRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 10;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    public Builder clearUpdateMessageRequest() {
      if (updateMessageRequestBuilder_ == null) {
        if (kindCase_ == 10) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 10) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateMessageRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    public im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder getUpdateMessageRequestBuilder() {
      return getUpdateMessageRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.message.UpdateMessageRequestOrBuilder getUpdateMessageRequestOrBuilder() {
      if ((kindCase_ == 10) && (updateMessageRequestBuilder_ != null)) {
        return updateMessageRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 10) {
          return (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateMessageRequest update_message_request = 10;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequestOrBuilder> 
        getUpdateMessageRequestFieldBuilder() {
      if (updateMessageRequestBuilder_ == null) {
        if (!(kindCase_ == 10)) {
          kind_ = im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.getDefaultInstance();
        }
        updateMessageRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest.Builder, im.turms.server.common.access.client.dto.request.message.UpdateMessageRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.message.UpdateMessageRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 10;
      onChanged();;
      return updateMessageRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequestOrBuilder> createGroupMemberRequestBuilder_;
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     * @return Whether the createGroupMemberRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupMemberRequest() {
      return kindCase_ == 11;
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     * @return The createGroupMemberRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest getCreateGroupMemberRequest() {
      if (createGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 11) {
          return (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 11) {
          return createGroupMemberRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    public Builder setCreateGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest value) {
      if (createGroupMemberRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupMemberRequestBuilder_.setMessage(value);
      }
      kindCase_ = 11;
      return this;
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    public Builder setCreateGroupMemberRequest(
        im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder builderForValue) {
      if (createGroupMemberRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupMemberRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 11;
      return this;
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    public Builder mergeCreateGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest value) {
      if (createGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 11 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 11) {
          createGroupMemberRequestBuilder_.mergeFrom(value);
        } else {
          createGroupMemberRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 11;
      return this;
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    public Builder clearCreateGroupMemberRequest() {
      if (createGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 11) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 11) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupMemberRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder getCreateGroupMemberRequestBuilder() {
      return getCreateGroupMemberRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequestOrBuilder getCreateGroupMemberRequestOrBuilder() {
      if ((kindCase_ == 11) && (createGroupMemberRequestBuilder_ != null)) {
        return createGroupMemberRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 11) {
          return (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Member
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupMemberRequest create_group_member_request = 11;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequestOrBuilder> 
        getCreateGroupMemberRequestFieldBuilder() {
      if (createGroupMemberRequestBuilder_ == null) {
        if (!(kindCase_ == 11)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.getDefaultInstance();
        }
        createGroupMemberRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.member.CreateGroupMemberRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 11;
      onChanged();;
      return createGroupMemberRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequestOrBuilder> deleteGroupMemberRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     * @return Whether the deleteGroupMemberRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupMemberRequest() {
      return kindCase_ == 12;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     * @return The deleteGroupMemberRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest getDeleteGroupMemberRequest() {
      if (deleteGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 12) {
          return (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 12) {
          return deleteGroupMemberRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    public Builder setDeleteGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest value) {
      if (deleteGroupMemberRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupMemberRequestBuilder_.setMessage(value);
      }
      kindCase_ = 12;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    public Builder setDeleteGroupMemberRequest(
        im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder builderForValue) {
      if (deleteGroupMemberRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupMemberRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 12;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    public Builder mergeDeleteGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest value) {
      if (deleteGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 12 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 12) {
          deleteGroupMemberRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupMemberRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 12;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    public Builder clearDeleteGroupMemberRequest() {
      if (deleteGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 12) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 12) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupMemberRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder getDeleteGroupMemberRequestBuilder() {
      return getDeleteGroupMemberRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequestOrBuilder getDeleteGroupMemberRequestOrBuilder() {
      if ((kindCase_ == 12) && (deleteGroupMemberRequestBuilder_ != null)) {
        return deleteGroupMemberRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 12) {
          return (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupMemberRequest delete_group_member_request = 12;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequestOrBuilder> 
        getDeleteGroupMemberRequestFieldBuilder() {
      if (deleteGroupMemberRequestBuilder_ == null) {
        if (!(kindCase_ == 12)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.getDefaultInstance();
        }
        deleteGroupMemberRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.member.DeleteGroupMemberRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 12;
      onChanged();;
      return deleteGroupMemberRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequestOrBuilder> queryGroupMembersRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     * @return Whether the queryGroupMembersRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupMembersRequest() {
      return kindCase_ == 13;
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     * @return The queryGroupMembersRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest getQueryGroupMembersRequest() {
      if (queryGroupMembersRequestBuilder_ == null) {
        if (kindCase_ == 13) {
          return (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 13) {
          return queryGroupMembersRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    public Builder setQueryGroupMembersRequest(im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest value) {
      if (queryGroupMembersRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupMembersRequestBuilder_.setMessage(value);
      }
      kindCase_ = 13;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    public Builder setQueryGroupMembersRequest(
        im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder builderForValue) {
      if (queryGroupMembersRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupMembersRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 13;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    public Builder mergeQueryGroupMembersRequest(im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest value) {
      if (queryGroupMembersRequestBuilder_ == null) {
        if (kindCase_ == 13 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 13) {
          queryGroupMembersRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupMembersRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 13;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    public Builder clearQueryGroupMembersRequest() {
      if (queryGroupMembersRequestBuilder_ == null) {
        if (kindCase_ == 13) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 13) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupMembersRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder getQueryGroupMembersRequestBuilder() {
      return getQueryGroupMembersRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequestOrBuilder getQueryGroupMembersRequestOrBuilder() {
      if ((kindCase_ == 13) && (queryGroupMembersRequestBuilder_ != null)) {
        return queryGroupMembersRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 13) {
          return (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupMembersRequest query_group_members_request = 13;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequestOrBuilder> 
        getQueryGroupMembersRequestFieldBuilder() {
      if (queryGroupMembersRequestBuilder_ == null) {
        if (!(kindCase_ == 13)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.getDefaultInstance();
        }
        queryGroupMembersRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.member.QueryGroupMembersRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 13;
      onChanged();;
      return queryGroupMembersRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequestOrBuilder> updateGroupMemberRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     * @return Whether the updateGroupMemberRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateGroupMemberRequest() {
      return kindCase_ == 14;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     * @return The updateGroupMemberRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest getUpdateGroupMemberRequest() {
      if (updateGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 14) {
          return (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 14) {
          return updateGroupMemberRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    public Builder setUpdateGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest value) {
      if (updateGroupMemberRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateGroupMemberRequestBuilder_.setMessage(value);
      }
      kindCase_ = 14;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    public Builder setUpdateGroupMemberRequest(
        im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder builderForValue) {
      if (updateGroupMemberRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateGroupMemberRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 14;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    public Builder mergeUpdateGroupMemberRequest(im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest value) {
      if (updateGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 14 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 14) {
          updateGroupMemberRequestBuilder_.mergeFrom(value);
        } else {
          updateGroupMemberRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 14;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    public Builder clearUpdateGroupMemberRequest() {
      if (updateGroupMemberRequestBuilder_ == null) {
        if (kindCase_ == 14) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 14) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateGroupMemberRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder getUpdateGroupMemberRequestBuilder() {
      return getUpdateGroupMemberRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequestOrBuilder getUpdateGroupMemberRequestOrBuilder() {
      if ((kindCase_ == 14) && (updateGroupMemberRequestBuilder_ != null)) {
        return updateGroupMemberRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 14) {
          return (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupMemberRequest update_group_member_request = 14;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequestOrBuilder> 
        getUpdateGroupMemberRequestFieldBuilder() {
      if (updateGroupMemberRequestBuilder_ == null) {
        if (!(kindCase_ == 14)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.getDefaultInstance();
        }
        updateGroupMemberRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest.Builder, im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.member.UpdateGroupMemberRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 14;
      onChanged();;
      return updateGroupMemberRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequestOrBuilder> queryUserProfileRequestBuilder_;
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     * @return Whether the queryUserProfileRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryUserProfileRequest() {
      return kindCase_ == 100;
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     * @return The queryUserProfileRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest getQueryUserProfileRequest() {
      if (queryUserProfileRequestBuilder_ == null) {
        if (kindCase_ == 100) {
          return (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 100) {
          return queryUserProfileRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    public Builder setQueryUserProfileRequest(im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest value) {
      if (queryUserProfileRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryUserProfileRequestBuilder_.setMessage(value);
      }
      kindCase_ = 100;
      return this;
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    public Builder setQueryUserProfileRequest(
        im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder builderForValue) {
      if (queryUserProfileRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryUserProfileRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 100;
      return this;
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    public Builder mergeQueryUserProfileRequest(im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest value) {
      if (queryUserProfileRequestBuilder_ == null) {
        if (kindCase_ == 100 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 100) {
          queryUserProfileRequestBuilder_.mergeFrom(value);
        } else {
          queryUserProfileRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 100;
      return this;
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    public Builder clearQueryUserProfileRequest() {
      if (queryUserProfileRequestBuilder_ == null) {
        if (kindCase_ == 100) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 100) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryUserProfileRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder getQueryUserProfileRequestBuilder() {
      return getQueryUserProfileRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequestOrBuilder getQueryUserProfileRequestOrBuilder() {
      if ((kindCase_ == 100) && (queryUserProfileRequestBuilder_ != null)) {
        return queryUserProfileRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 100) {
          return (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User
     * </pre>
     *
     * <code>.im.turms.proto.QueryUserProfileRequest query_user_profile_request = 100;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequestOrBuilder> 
        getQueryUserProfileRequestFieldBuilder() {
      if (queryUserProfileRequestBuilder_ == null) {
        if (!(kindCase_ == 100)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.getDefaultInstance();
        }
        queryUserProfileRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.QueryUserProfileRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 100;
      onChanged();;
      return queryUserProfileRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequestOrBuilder> queryNearbyUsersRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     * @return Whether the queryNearbyUsersRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryNearbyUsersRequest() {
      return kindCase_ == 101;
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     * @return The queryNearbyUsersRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest getQueryNearbyUsersRequest() {
      if (queryNearbyUsersRequestBuilder_ == null) {
        if (kindCase_ == 101) {
          return (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 101) {
          return queryNearbyUsersRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    public Builder setQueryNearbyUsersRequest(im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest value) {
      if (queryNearbyUsersRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryNearbyUsersRequestBuilder_.setMessage(value);
      }
      kindCase_ = 101;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    public Builder setQueryNearbyUsersRequest(
        im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder builderForValue) {
      if (queryNearbyUsersRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryNearbyUsersRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 101;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    public Builder mergeQueryNearbyUsersRequest(im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest value) {
      if (queryNearbyUsersRequestBuilder_ == null) {
        if (kindCase_ == 101 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 101) {
          queryNearbyUsersRequestBuilder_.mergeFrom(value);
        } else {
          queryNearbyUsersRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 101;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    public Builder clearQueryNearbyUsersRequest() {
      if (queryNearbyUsersRequestBuilder_ == null) {
        if (kindCase_ == 101) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 101) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryNearbyUsersRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder getQueryNearbyUsersRequestBuilder() {
      return getQueryNearbyUsersRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequestOrBuilder getQueryNearbyUsersRequestOrBuilder() {
      if ((kindCase_ == 101) && (queryNearbyUsersRequestBuilder_ != null)) {
        return queryNearbyUsersRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 101) {
          return (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryNearbyUsersRequest query_nearby_users_request = 101;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequestOrBuilder> 
        getQueryNearbyUsersRequestFieldBuilder() {
      if (queryNearbyUsersRequestBuilder_ == null) {
        if (!(kindCase_ == 101)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.getDefaultInstance();
        }
        queryNearbyUsersRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.QueryNearbyUsersRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 101;
      onChanged();;
      return queryNearbyUsersRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequestOrBuilder> queryUserOnlineStatusesRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     * @return Whether the queryUserOnlineStatusesRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryUserOnlineStatusesRequest() {
      return kindCase_ == 102;
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     * @return The queryUserOnlineStatusesRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest getQueryUserOnlineStatusesRequest() {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        if (kindCase_ == 102) {
          return (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 102) {
          return queryUserOnlineStatusesRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    public Builder setQueryUserOnlineStatusesRequest(im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest value) {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryUserOnlineStatusesRequestBuilder_.setMessage(value);
      }
      kindCase_ = 102;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    public Builder setQueryUserOnlineStatusesRequest(
        im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder builderForValue) {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryUserOnlineStatusesRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 102;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    public Builder mergeQueryUserOnlineStatusesRequest(im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest value) {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        if (kindCase_ == 102 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 102) {
          queryUserOnlineStatusesRequestBuilder_.mergeFrom(value);
        } else {
          queryUserOnlineStatusesRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 102;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    public Builder clearQueryUserOnlineStatusesRequest() {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        if (kindCase_ == 102) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 102) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryUserOnlineStatusesRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder getQueryUserOnlineStatusesRequestBuilder() {
      return getQueryUserOnlineStatusesRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequestOrBuilder getQueryUserOnlineStatusesRequestOrBuilder() {
      if ((kindCase_ == 102) && (queryUserOnlineStatusesRequestBuilder_ != null)) {
        return queryUserOnlineStatusesRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 102) {
          return (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryUserOnlineStatusesRequest query_user_online_statuses_request = 102;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequestOrBuilder> 
        getQueryUserOnlineStatusesRequestFieldBuilder() {
      if (queryUserOnlineStatusesRequestBuilder_ == null) {
        if (!(kindCase_ == 102)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.getDefaultInstance();
        }
        queryUserOnlineStatusesRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest.Builder, im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.QueryUserOnlineStatusesRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 102;
      onChanged();;
      return queryUserOnlineStatusesRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequestOrBuilder> updateUserLocationRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     * @return Whether the updateUserLocationRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateUserLocationRequest() {
      return kindCase_ == 103;
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     * @return The updateUserLocationRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest getUpdateUserLocationRequest() {
      if (updateUserLocationRequestBuilder_ == null) {
        if (kindCase_ == 103) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 103) {
          return updateUserLocationRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    public Builder setUpdateUserLocationRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest value) {
      if (updateUserLocationRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateUserLocationRequestBuilder_.setMessage(value);
      }
      kindCase_ = 103;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    public Builder setUpdateUserLocationRequest(
        im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder builderForValue) {
      if (updateUserLocationRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateUserLocationRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 103;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    public Builder mergeUpdateUserLocationRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest value) {
      if (updateUserLocationRequestBuilder_ == null) {
        if (kindCase_ == 103 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 103) {
          updateUserLocationRequestBuilder_.mergeFrom(value);
        } else {
          updateUserLocationRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 103;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    public Builder clearUpdateUserLocationRequest() {
      if (updateUserLocationRequestBuilder_ == null) {
        if (kindCase_ == 103) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 103) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateUserLocationRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder getUpdateUserLocationRequestBuilder() {
      return getUpdateUserLocationRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequestOrBuilder getUpdateUserLocationRequestOrBuilder() {
      if ((kindCase_ == 103) && (updateUserLocationRequestBuilder_ != null)) {
        return updateUserLocationRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 103) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserLocationRequest update_user_location_request = 103;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequestOrBuilder> 
        getUpdateUserLocationRequestFieldBuilder() {
      if (updateUserLocationRequestBuilder_ == null) {
        if (!(kindCase_ == 103)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.getDefaultInstance();
        }
        updateUserLocationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.UpdateUserLocationRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 103;
      onChanged();;
      return updateUserLocationRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequestOrBuilder> updateUserOnlineStatusRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     * @return Whether the updateUserOnlineStatusRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateUserOnlineStatusRequest() {
      return kindCase_ == 104;
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     * @return The updateUserOnlineStatusRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest getUpdateUserOnlineStatusRequest() {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        if (kindCase_ == 104) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 104) {
          return updateUserOnlineStatusRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    public Builder setUpdateUserOnlineStatusRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest value) {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateUserOnlineStatusRequestBuilder_.setMessage(value);
      }
      kindCase_ = 104;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    public Builder setUpdateUserOnlineStatusRequest(
        im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder builderForValue) {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateUserOnlineStatusRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 104;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    public Builder mergeUpdateUserOnlineStatusRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest value) {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        if (kindCase_ == 104 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 104) {
          updateUserOnlineStatusRequestBuilder_.mergeFrom(value);
        } else {
          updateUserOnlineStatusRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 104;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    public Builder clearUpdateUserOnlineStatusRequest() {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        if (kindCase_ == 104) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 104) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateUserOnlineStatusRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder getUpdateUserOnlineStatusRequestBuilder() {
      return getUpdateUserOnlineStatusRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequestOrBuilder getUpdateUserOnlineStatusRequestOrBuilder() {
      if ((kindCase_ == 104) && (updateUserOnlineStatusRequestBuilder_ != null)) {
        return updateUserOnlineStatusRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 104) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserOnlineStatusRequest update_user_online_status_request = 104;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequestOrBuilder> 
        getUpdateUserOnlineStatusRequestFieldBuilder() {
      if (updateUserOnlineStatusRequestBuilder_ == null) {
        if (!(kindCase_ == 104)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.getDefaultInstance();
        }
        updateUserOnlineStatusRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.UpdateUserOnlineStatusRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 104;
      onChanged();;
      return updateUserOnlineStatusRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserRequestOrBuilder> updateUserRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     * @return Whether the updateUserRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateUserRequest() {
      return kindCase_ == 105;
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     * @return The updateUserRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserRequest getUpdateUserRequest() {
      if (updateUserRequestBuilder_ == null) {
        if (kindCase_ == 105) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 105) {
          return updateUserRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    public Builder setUpdateUserRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserRequest value) {
      if (updateUserRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateUserRequestBuilder_.setMessage(value);
      }
      kindCase_ = 105;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    public Builder setUpdateUserRequest(
        im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder builderForValue) {
      if (updateUserRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateUserRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 105;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    public Builder mergeUpdateUserRequest(im.turms.server.common.access.client.dto.request.user.UpdateUserRequest value) {
      if (updateUserRequestBuilder_ == null) {
        if (kindCase_ == 105 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 105) {
          updateUserRequestBuilder_.mergeFrom(value);
        } else {
          updateUserRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 105;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    public Builder clearUpdateUserRequest() {
      if (updateUserRequestBuilder_ == null) {
        if (kindCase_ == 105) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 105) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateUserRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder getUpdateUserRequestBuilder() {
      return getUpdateUserRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.UpdateUserRequestOrBuilder getUpdateUserRequestOrBuilder() {
      if ((kindCase_ == 105) && (updateUserRequestBuilder_ != null)) {
        return updateUserRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 105) {
          return (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateUserRequest update_user_request = 105;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.UpdateUserRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserRequestOrBuilder> 
        getUpdateUserRequestFieldBuilder() {
      if (updateUserRequestBuilder_ == null) {
        if (!(kindCase_ == 105)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.getDefaultInstance();
        }
        updateUserRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.UpdateUserRequest, im.turms.server.common.access.client.dto.request.user.UpdateUserRequest.Builder, im.turms.server.common.access.client.dto.request.user.UpdateUserRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.UpdateUserRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 105;
      onChanged();;
      return updateUserRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequestOrBuilder> createFriendRequestRequestBuilder_;
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     * @return Whether the createFriendRequestRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateFriendRequestRequest() {
      return kindCase_ == 200;
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     * @return The createFriendRequestRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest getCreateFriendRequestRequest() {
      if (createFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 200) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 200) {
          return createFriendRequestRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    public Builder setCreateFriendRequestRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest value) {
      if (createFriendRequestRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createFriendRequestRequestBuilder_.setMessage(value);
      }
      kindCase_ = 200;
      return this;
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    public Builder setCreateFriendRequestRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder builderForValue) {
      if (createFriendRequestRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createFriendRequestRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 200;
      return this;
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    public Builder mergeCreateFriendRequestRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest value) {
      if (createFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 200 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 200) {
          createFriendRequestRequestBuilder_.mergeFrom(value);
        } else {
          createFriendRequestRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 200;
      return this;
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    public Builder clearCreateFriendRequestRequest() {
      if (createFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 200) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 200) {
          kindCase_ = 0;
          kind_ = null;
        }
        createFriendRequestRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder getCreateFriendRequestRequestBuilder() {
      return getCreateFriendRequestRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequestOrBuilder getCreateFriendRequestRequestOrBuilder() {
      if ((kindCase_ == 200) && (createFriendRequestRequestBuilder_ != null)) {
        return createFriendRequestRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 200) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * User Relationship
     * </pre>
     *
     * <code>.im.turms.proto.CreateFriendRequestRequest create_friend_request_request = 200;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequestOrBuilder> 
        getCreateFriendRequestRequestFieldBuilder() {
      if (createFriendRequestRequestBuilder_ == null) {
        if (!(kindCase_ == 200)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.getDefaultInstance();
        }
        createFriendRequestRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.CreateFriendRequestRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 200;
      onChanged();;
      return createFriendRequestRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequestOrBuilder> createRelationshipGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     * @return Whether the createRelationshipGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateRelationshipGroupRequest() {
      return kindCase_ == 201;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     * @return The createRelationshipGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest getCreateRelationshipGroupRequest() {
      if (createRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 201) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 201) {
          return createRelationshipGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    public Builder setCreateRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest value) {
      if (createRelationshipGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createRelationshipGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 201;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    public Builder setCreateRelationshipGroupRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder builderForValue) {
      if (createRelationshipGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createRelationshipGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 201;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    public Builder mergeCreateRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest value) {
      if (createRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 201 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 201) {
          createRelationshipGroupRequestBuilder_.mergeFrom(value);
        } else {
          createRelationshipGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 201;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    public Builder clearCreateRelationshipGroupRequest() {
      if (createRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 201) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 201) {
          kindCase_ = 0;
          kind_ = null;
        }
        createRelationshipGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder getCreateRelationshipGroupRequestBuilder() {
      return getCreateRelationshipGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequestOrBuilder getCreateRelationshipGroupRequestOrBuilder() {
      if ((kindCase_ == 201) && (createRelationshipGroupRequestBuilder_ != null)) {
        return createRelationshipGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 201) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipGroupRequest create_relationship_group_request = 201;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequestOrBuilder> 
        getCreateRelationshipGroupRequestFieldBuilder() {
      if (createRelationshipGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 201)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.getDefaultInstance();
        }
        createRelationshipGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 201;
      onChanged();;
      return createRelationshipGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequestOrBuilder> createRelationshipRequestBuilder_;
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     * @return Whether the createRelationshipRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateRelationshipRequest() {
      return kindCase_ == 202;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     * @return The createRelationshipRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest getCreateRelationshipRequest() {
      if (createRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 202) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 202) {
          return createRelationshipRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    public Builder setCreateRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest value) {
      if (createRelationshipRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createRelationshipRequestBuilder_.setMessage(value);
      }
      kindCase_ = 202;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    public Builder setCreateRelationshipRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder builderForValue) {
      if (createRelationshipRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createRelationshipRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 202;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    public Builder mergeCreateRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest value) {
      if (createRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 202 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 202) {
          createRelationshipRequestBuilder_.mergeFrom(value);
        } else {
          createRelationshipRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 202;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    public Builder clearCreateRelationshipRequest() {
      if (createRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 202) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 202) {
          kindCase_ = 0;
          kind_ = null;
        }
        createRelationshipRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder getCreateRelationshipRequestBuilder() {
      return getCreateRelationshipRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequestOrBuilder getCreateRelationshipRequestOrBuilder() {
      if ((kindCase_ == 202) && (createRelationshipRequestBuilder_ != null)) {
        return createRelationshipRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 202) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateRelationshipRequest create_relationship_request = 202;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequestOrBuilder> 
        getCreateRelationshipRequestFieldBuilder() {
      if (createRelationshipRequestBuilder_ == null) {
        if (!(kindCase_ == 202)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.getDefaultInstance();
        }
        createRelationshipRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.CreateRelationshipRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 202;
      onChanged();;
      return createRelationshipRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequestOrBuilder> deleteRelationshipGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     * @return Whether the deleteRelationshipGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteRelationshipGroupRequest() {
      return kindCase_ == 203;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     * @return The deleteRelationshipGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest getDeleteRelationshipGroupRequest() {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 203) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 203) {
          return deleteRelationshipGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    public Builder setDeleteRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest value) {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteRelationshipGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 203;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    public Builder setDeleteRelationshipGroupRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder builderForValue) {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteRelationshipGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 203;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    public Builder mergeDeleteRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest value) {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 203 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 203) {
          deleteRelationshipGroupRequestBuilder_.mergeFrom(value);
        } else {
          deleteRelationshipGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 203;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    public Builder clearDeleteRelationshipGroupRequest() {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 203) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 203) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteRelationshipGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder getDeleteRelationshipGroupRequestBuilder() {
      return getDeleteRelationshipGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequestOrBuilder getDeleteRelationshipGroupRequestOrBuilder() {
      if ((kindCase_ == 203) && (deleteRelationshipGroupRequestBuilder_ != null)) {
        return deleteRelationshipGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 203) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipGroupRequest delete_relationship_group_request = 203;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequestOrBuilder> 
        getDeleteRelationshipGroupRequestFieldBuilder() {
      if (deleteRelationshipGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 203)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.getDefaultInstance();
        }
        deleteRelationshipGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 203;
      onChanged();;
      return deleteRelationshipGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequestOrBuilder> deleteRelationshipRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     * @return Whether the deleteRelationshipRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteRelationshipRequest() {
      return kindCase_ == 204;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     * @return The deleteRelationshipRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest getDeleteRelationshipRequest() {
      if (deleteRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 204) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 204) {
          return deleteRelationshipRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    public Builder setDeleteRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest value) {
      if (deleteRelationshipRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteRelationshipRequestBuilder_.setMessage(value);
      }
      kindCase_ = 204;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    public Builder setDeleteRelationshipRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder builderForValue) {
      if (deleteRelationshipRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteRelationshipRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 204;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    public Builder mergeDeleteRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest value) {
      if (deleteRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 204 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 204) {
          deleteRelationshipRequestBuilder_.mergeFrom(value);
        } else {
          deleteRelationshipRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 204;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    public Builder clearDeleteRelationshipRequest() {
      if (deleteRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 204) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 204) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteRelationshipRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder getDeleteRelationshipRequestBuilder() {
      return getDeleteRelationshipRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequestOrBuilder getDeleteRelationshipRequestOrBuilder() {
      if ((kindCase_ == 204) && (deleteRelationshipRequestBuilder_ != null)) {
        return deleteRelationshipRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 204) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteRelationshipRequest delete_relationship_request = 204;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequestOrBuilder> 
        getDeleteRelationshipRequestFieldBuilder() {
      if (deleteRelationshipRequestBuilder_ == null) {
        if (!(kindCase_ == 204)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.getDefaultInstance();
        }
        deleteRelationshipRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.DeleteRelationshipRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 204;
      onChanged();;
      return deleteRelationshipRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequestOrBuilder> queryFriendRequestsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     * @return Whether the queryFriendRequestsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryFriendRequestsRequest() {
      return kindCase_ == 205;
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     * @return The queryFriendRequestsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest getQueryFriendRequestsRequest() {
      if (queryFriendRequestsRequestBuilder_ == null) {
        if (kindCase_ == 205) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 205) {
          return queryFriendRequestsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    public Builder setQueryFriendRequestsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest value) {
      if (queryFriendRequestsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryFriendRequestsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 205;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    public Builder setQueryFriendRequestsRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder builderForValue) {
      if (queryFriendRequestsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryFriendRequestsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 205;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    public Builder mergeQueryFriendRequestsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest value) {
      if (queryFriendRequestsRequestBuilder_ == null) {
        if (kindCase_ == 205 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 205) {
          queryFriendRequestsRequestBuilder_.mergeFrom(value);
        } else {
          queryFriendRequestsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 205;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    public Builder clearQueryFriendRequestsRequest() {
      if (queryFriendRequestsRequestBuilder_ == null) {
        if (kindCase_ == 205) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 205) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryFriendRequestsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder getQueryFriendRequestsRequestBuilder() {
      return getQueryFriendRequestsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequestOrBuilder getQueryFriendRequestsRequestOrBuilder() {
      if ((kindCase_ == 205) && (queryFriendRequestsRequestBuilder_ != null)) {
        return queryFriendRequestsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 205) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryFriendRequestsRequest query_friend_requests_request = 205;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequestOrBuilder> 
        getQueryFriendRequestsRequestFieldBuilder() {
      if (queryFriendRequestsRequestBuilder_ == null) {
        if (!(kindCase_ == 205)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.getDefaultInstance();
        }
        queryFriendRequestsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.QueryFriendRequestsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 205;
      onChanged();;
      return queryFriendRequestsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequestOrBuilder> queryRelatedUserIdsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     * @return Whether the queryRelatedUserIdsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryRelatedUserIdsRequest() {
      return kindCase_ == 206;
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     * @return The queryRelatedUserIdsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest getQueryRelatedUserIdsRequest() {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 206) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 206) {
          return queryRelatedUserIdsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    public Builder setQueryRelatedUserIdsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest value) {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryRelatedUserIdsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 206;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    public Builder setQueryRelatedUserIdsRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder builderForValue) {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryRelatedUserIdsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 206;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    public Builder mergeQueryRelatedUserIdsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest value) {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 206 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 206) {
          queryRelatedUserIdsRequestBuilder_.mergeFrom(value);
        } else {
          queryRelatedUserIdsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 206;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    public Builder clearQueryRelatedUserIdsRequest() {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 206) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 206) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryRelatedUserIdsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder getQueryRelatedUserIdsRequestBuilder() {
      return getQueryRelatedUserIdsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequestOrBuilder getQueryRelatedUserIdsRequestOrBuilder() {
      if ((kindCase_ == 206) && (queryRelatedUserIdsRequestBuilder_ != null)) {
        return queryRelatedUserIdsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 206) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelatedUserIdsRequest query_related_user_ids_request = 206;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequestOrBuilder> 
        getQueryRelatedUserIdsRequestFieldBuilder() {
      if (queryRelatedUserIdsRequestBuilder_ == null) {
        if (!(kindCase_ == 206)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.getDefaultInstance();
        }
        queryRelatedUserIdsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelatedUserIdsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 206;
      onChanged();;
      return queryRelatedUserIdsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequestOrBuilder> queryRelationshipGroupsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     * @return Whether the queryRelationshipGroupsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryRelationshipGroupsRequest() {
      return kindCase_ == 207;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     * @return The queryRelationshipGroupsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest getQueryRelationshipGroupsRequest() {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        if (kindCase_ == 207) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 207) {
          return queryRelationshipGroupsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    public Builder setQueryRelationshipGroupsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest value) {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryRelationshipGroupsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 207;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    public Builder setQueryRelationshipGroupsRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder builderForValue) {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryRelationshipGroupsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 207;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    public Builder mergeQueryRelationshipGroupsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest value) {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        if (kindCase_ == 207 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 207) {
          queryRelationshipGroupsRequestBuilder_.mergeFrom(value);
        } else {
          queryRelationshipGroupsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 207;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    public Builder clearQueryRelationshipGroupsRequest() {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        if (kindCase_ == 207) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 207) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryRelationshipGroupsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder getQueryRelationshipGroupsRequestBuilder() {
      return getQueryRelationshipGroupsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequestOrBuilder getQueryRelationshipGroupsRequestOrBuilder() {
      if ((kindCase_ == 207) && (queryRelationshipGroupsRequestBuilder_ != null)) {
        return queryRelationshipGroupsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 207) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipGroupsRequest query_relationship_groups_request = 207;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequestOrBuilder> 
        getQueryRelationshipGroupsRequestFieldBuilder() {
      if (queryRelationshipGroupsRequestBuilder_ == null) {
        if (!(kindCase_ == 207)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.getDefaultInstance();
        }
        queryRelationshipGroupsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipGroupsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 207;
      onChanged();;
      return queryRelationshipGroupsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequestOrBuilder> queryRelationshipsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     * @return Whether the queryRelationshipsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryRelationshipsRequest() {
      return kindCase_ == 208;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     * @return The queryRelationshipsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest getQueryRelationshipsRequest() {
      if (queryRelationshipsRequestBuilder_ == null) {
        if (kindCase_ == 208) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 208) {
          return queryRelationshipsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    public Builder setQueryRelationshipsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest value) {
      if (queryRelationshipsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryRelationshipsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 208;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    public Builder setQueryRelationshipsRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder builderForValue) {
      if (queryRelationshipsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryRelationshipsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 208;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    public Builder mergeQueryRelationshipsRequest(im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest value) {
      if (queryRelationshipsRequestBuilder_ == null) {
        if (kindCase_ == 208 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 208) {
          queryRelationshipsRequestBuilder_.mergeFrom(value);
        } else {
          queryRelationshipsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 208;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    public Builder clearQueryRelationshipsRequest() {
      if (queryRelationshipsRequestBuilder_ == null) {
        if (kindCase_ == 208) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 208) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryRelationshipsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder getQueryRelationshipsRequestBuilder() {
      return getQueryRelationshipsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequestOrBuilder getQueryRelationshipsRequestOrBuilder() {
      if ((kindCase_ == 208) && (queryRelationshipsRequestBuilder_ != null)) {
        return queryRelationshipsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 208) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryRelationshipsRequest query_relationships_request = 208;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequestOrBuilder> 
        getQueryRelationshipsRequestFieldBuilder() {
      if (queryRelationshipsRequestBuilder_ == null) {
        if (!(kindCase_ == 208)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.getDefaultInstance();
        }
        queryRelationshipsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.QueryRelationshipsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 208;
      onChanged();;
      return queryRelationshipsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequestOrBuilder> updateFriendRequestRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     * @return Whether the updateFriendRequestRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateFriendRequestRequest() {
      return kindCase_ == 209;
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     * @return The updateFriendRequestRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest getUpdateFriendRequestRequest() {
      if (updateFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 209) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 209) {
          return updateFriendRequestRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    public Builder setUpdateFriendRequestRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest value) {
      if (updateFriendRequestRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateFriendRequestRequestBuilder_.setMessage(value);
      }
      kindCase_ = 209;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    public Builder setUpdateFriendRequestRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder builderForValue) {
      if (updateFriendRequestRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateFriendRequestRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 209;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    public Builder mergeUpdateFriendRequestRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest value) {
      if (updateFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 209 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 209) {
          updateFriendRequestRequestBuilder_.mergeFrom(value);
        } else {
          updateFriendRequestRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 209;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    public Builder clearUpdateFriendRequestRequest() {
      if (updateFriendRequestRequestBuilder_ == null) {
        if (kindCase_ == 209) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 209) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateFriendRequestRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder getUpdateFriendRequestRequestBuilder() {
      return getUpdateFriendRequestRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequestOrBuilder getUpdateFriendRequestRequestOrBuilder() {
      if ((kindCase_ == 209) && (updateFriendRequestRequestBuilder_ != null)) {
        return updateFriendRequestRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 209) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateFriendRequestRequest update_friend_request_request = 209;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequestOrBuilder> 
        getUpdateFriendRequestRequestFieldBuilder() {
      if (updateFriendRequestRequestBuilder_ == null) {
        if (!(kindCase_ == 209)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.getDefaultInstance();
        }
        updateFriendRequestRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.UpdateFriendRequestRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 209;
      onChanged();;
      return updateFriendRequestRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequestOrBuilder> updateRelationshipGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     * @return Whether the updateRelationshipGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateRelationshipGroupRequest() {
      return kindCase_ == 210;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     * @return The updateRelationshipGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest getUpdateRelationshipGroupRequest() {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 210) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 210) {
          return updateRelationshipGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    public Builder setUpdateRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest value) {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateRelationshipGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 210;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    public Builder setUpdateRelationshipGroupRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder builderForValue) {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateRelationshipGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 210;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    public Builder mergeUpdateRelationshipGroupRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest value) {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 210 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 210) {
          updateRelationshipGroupRequestBuilder_.mergeFrom(value);
        } else {
          updateRelationshipGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 210;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    public Builder clearUpdateRelationshipGroupRequest() {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        if (kindCase_ == 210) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 210) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateRelationshipGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder getUpdateRelationshipGroupRequestBuilder() {
      return getUpdateRelationshipGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequestOrBuilder getUpdateRelationshipGroupRequestOrBuilder() {
      if ((kindCase_ == 210) && (updateRelationshipGroupRequestBuilder_ != null)) {
        return updateRelationshipGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 210) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipGroupRequest update_relationship_group_request = 210;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequestOrBuilder> 
        getUpdateRelationshipGroupRequestFieldBuilder() {
      if (updateRelationshipGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 210)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.getDefaultInstance();
        }
        updateRelationshipGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 210;
      onChanged();;
      return updateRelationshipGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequestOrBuilder> updateRelationshipRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     * @return Whether the updateRelationshipRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateRelationshipRequest() {
      return kindCase_ == 211;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     * @return The updateRelationshipRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest getUpdateRelationshipRequest() {
      if (updateRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 211) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 211) {
          return updateRelationshipRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    public Builder setUpdateRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest value) {
      if (updateRelationshipRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateRelationshipRequestBuilder_.setMessage(value);
      }
      kindCase_ = 211;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    public Builder setUpdateRelationshipRequest(
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder builderForValue) {
      if (updateRelationshipRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateRelationshipRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 211;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    public Builder mergeUpdateRelationshipRequest(im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest value) {
      if (updateRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 211 &&
            kind_ != im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.newBuilder((im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 211) {
          updateRelationshipRequestBuilder_.mergeFrom(value);
        } else {
          updateRelationshipRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 211;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    public Builder clearUpdateRelationshipRequest() {
      if (updateRelationshipRequestBuilder_ == null) {
        if (kindCase_ == 211) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 211) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateRelationshipRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder getUpdateRelationshipRequestBuilder() {
      return getUpdateRelationshipRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequestOrBuilder getUpdateRelationshipRequestOrBuilder() {
      if ((kindCase_ == 211) && (updateRelationshipRequestBuilder_ != null)) {
        return updateRelationshipRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 211) {
          return (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateRelationshipRequest update_relationship_request = 211;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequestOrBuilder> 
        getUpdateRelationshipRequestFieldBuilder() {
      if (updateRelationshipRequestBuilder_ == null) {
        if (!(kindCase_ == 211)) {
          kind_ = im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.getDefaultInstance();
        }
        updateRelationshipRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest.Builder, im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.user.relationship.UpdateRelationshipRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 211;
      onChanged();;
      return updateRelationshipRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.CreateGroupRequest, im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.CreateGroupRequestOrBuilder> createGroupRequestBuilder_;
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     * @return Whether the createGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupRequest() {
      return kindCase_ == 300;
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     * @return The createGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.CreateGroupRequest getCreateGroupRequest() {
      if (createGroupRequestBuilder_ == null) {
        if (kindCase_ == 300) {
          return (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 300) {
          return createGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    public Builder setCreateGroupRequest(im.turms.server.common.access.client.dto.request.group.CreateGroupRequest value) {
      if (createGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 300;
      return this;
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    public Builder setCreateGroupRequest(
        im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder builderForValue) {
      if (createGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 300;
      return this;
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    public Builder mergeCreateGroupRequest(im.turms.server.common.access.client.dto.request.group.CreateGroupRequest value) {
      if (createGroupRequestBuilder_ == null) {
        if (kindCase_ == 300 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 300) {
          createGroupRequestBuilder_.mergeFrom(value);
        } else {
          createGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 300;
      return this;
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    public Builder clearCreateGroupRequest() {
      if (createGroupRequestBuilder_ == null) {
        if (kindCase_ == 300) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 300) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder getCreateGroupRequestBuilder() {
      return getCreateGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.CreateGroupRequestOrBuilder getCreateGroupRequestOrBuilder() {
      if ((kindCase_ == 300) && (createGroupRequestBuilder_ != null)) {
        return createGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 300) {
          return (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupRequest create_group_request = 300;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.CreateGroupRequest, im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.CreateGroupRequestOrBuilder> 
        getCreateGroupRequestFieldBuilder() {
      if (createGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 300)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.getDefaultInstance();
        }
        createGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.CreateGroupRequest, im.turms.server.common.access.client.dto.request.group.CreateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.CreateGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.CreateGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 300;
      onChanged();;
      return createGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequestOrBuilder> deleteGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     * @return Whether the deleteGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupRequest() {
      return kindCase_ == 301;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     * @return The deleteGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest getDeleteGroupRequest() {
      if (deleteGroupRequestBuilder_ == null) {
        if (kindCase_ == 301) {
          return (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 301) {
          return deleteGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    public Builder setDeleteGroupRequest(im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest value) {
      if (deleteGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 301;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    public Builder setDeleteGroupRequest(
        im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder builderForValue) {
      if (deleteGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 301;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    public Builder mergeDeleteGroupRequest(im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest value) {
      if (deleteGroupRequestBuilder_ == null) {
        if (kindCase_ == 301 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 301) {
          deleteGroupRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 301;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    public Builder clearDeleteGroupRequest() {
      if (deleteGroupRequestBuilder_ == null) {
        if (kindCase_ == 301) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 301) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder getDeleteGroupRequestBuilder() {
      return getDeleteGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.DeleteGroupRequestOrBuilder getDeleteGroupRequestOrBuilder() {
      if ((kindCase_ == 301) && (deleteGroupRequestBuilder_ != null)) {
        return deleteGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 301) {
          return (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupRequest delete_group_request = 301;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequestOrBuilder> 
        getDeleteGroupRequestFieldBuilder() {
      if (deleteGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 301)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.getDefaultInstance();
        }
        deleteGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.DeleteGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.DeleteGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 301;
      onChanged();;
      return deleteGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryGroupRequest, im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryGroupRequestOrBuilder> queryGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     * @return Whether the queryGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupRequest() {
      return kindCase_ == 302;
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     * @return The queryGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryGroupRequest getQueryGroupRequest() {
      if (queryGroupRequestBuilder_ == null) {
        if (kindCase_ == 302) {
          return (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 302) {
          return queryGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    public Builder setQueryGroupRequest(im.turms.server.common.access.client.dto.request.group.QueryGroupRequest value) {
      if (queryGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 302;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    public Builder setQueryGroupRequest(
        im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder builderForValue) {
      if (queryGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 302;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    public Builder mergeQueryGroupRequest(im.turms.server.common.access.client.dto.request.group.QueryGroupRequest value) {
      if (queryGroupRequestBuilder_ == null) {
        if (kindCase_ == 302 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 302) {
          queryGroupRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 302;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    public Builder clearQueryGroupRequest() {
      if (queryGroupRequestBuilder_ == null) {
        if (kindCase_ == 302) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 302) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder getQueryGroupRequestBuilder() {
      return getQueryGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryGroupRequestOrBuilder getQueryGroupRequestOrBuilder() {
      if ((kindCase_ == 302) && (queryGroupRequestBuilder_ != null)) {
        return queryGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 302) {
          return (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupRequest query_group_request = 302;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryGroupRequest, im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryGroupRequestOrBuilder> 
        getQueryGroupRequestFieldBuilder() {
      if (queryGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 302)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.getDefaultInstance();
        }
        queryGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.QueryGroupRequest, im.turms.server.common.access.client.dto.request.group.QueryGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.QueryGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 302;
      onChanged();;
      return queryGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequestOrBuilder> queryJoinedGroupIdsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     * @return Whether the queryJoinedGroupIdsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryJoinedGroupIdsRequest() {
      return kindCase_ == 303;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     * @return The queryJoinedGroupIdsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest getQueryJoinedGroupIdsRequest() {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        if (kindCase_ == 303) {
          return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 303) {
          return queryJoinedGroupIdsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    public Builder setQueryJoinedGroupIdsRequest(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest value) {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryJoinedGroupIdsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 303;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    public Builder setQueryJoinedGroupIdsRequest(
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder builderForValue) {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryJoinedGroupIdsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 303;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    public Builder mergeQueryJoinedGroupIdsRequest(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest value) {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        if (kindCase_ == 303 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 303) {
          queryJoinedGroupIdsRequestBuilder_.mergeFrom(value);
        } else {
          queryJoinedGroupIdsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 303;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    public Builder clearQueryJoinedGroupIdsRequest() {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        if (kindCase_ == 303) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 303) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryJoinedGroupIdsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder getQueryJoinedGroupIdsRequestBuilder() {
      return getQueryJoinedGroupIdsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequestOrBuilder getQueryJoinedGroupIdsRequestOrBuilder() {
      if ((kindCase_ == 303) && (queryJoinedGroupIdsRequestBuilder_ != null)) {
        return queryJoinedGroupIdsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 303) {
          return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupIdsRequest query_joined_group_ids_request = 303;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequestOrBuilder> 
        getQueryJoinedGroupIdsRequestFieldBuilder() {
      if (queryJoinedGroupIdsRequestBuilder_ == null) {
        if (!(kindCase_ == 303)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.getDefaultInstance();
        }
        queryJoinedGroupIdsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupIdsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 303;
      onChanged();;
      return queryJoinedGroupIdsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequestOrBuilder> queryJoinedGroupInfosRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     * @return Whether the queryJoinedGroupInfosRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryJoinedGroupInfosRequest() {
      return kindCase_ == 304;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     * @return The queryJoinedGroupInfosRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest getQueryJoinedGroupInfosRequest() {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        if (kindCase_ == 304) {
          return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 304) {
          return queryJoinedGroupInfosRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    public Builder setQueryJoinedGroupInfosRequest(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest value) {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryJoinedGroupInfosRequestBuilder_.setMessage(value);
      }
      kindCase_ = 304;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    public Builder setQueryJoinedGroupInfosRequest(
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder builderForValue) {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryJoinedGroupInfosRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 304;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    public Builder mergeQueryJoinedGroupInfosRequest(im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest value) {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        if (kindCase_ == 304 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 304) {
          queryJoinedGroupInfosRequestBuilder_.mergeFrom(value);
        } else {
          queryJoinedGroupInfosRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 304;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    public Builder clearQueryJoinedGroupInfosRequest() {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        if (kindCase_ == 304) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 304) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryJoinedGroupInfosRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder getQueryJoinedGroupInfosRequestBuilder() {
      return getQueryJoinedGroupInfosRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequestOrBuilder getQueryJoinedGroupInfosRequestOrBuilder() {
      if ((kindCase_ == 304) && (queryJoinedGroupInfosRequestBuilder_ != null)) {
        return queryJoinedGroupInfosRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 304) {
          return (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryJoinedGroupInfosRequest query_joined_group_infos_request = 304;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequestOrBuilder> 
        getQueryJoinedGroupInfosRequestFieldBuilder() {
      if (queryJoinedGroupInfosRequestBuilder_ == null) {
        if (!(kindCase_ == 304)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.getDefaultInstance();
        }
        queryJoinedGroupInfosRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.QueryJoinedGroupInfosRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 304;
      onChanged();;
      return queryJoinedGroupInfosRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequestOrBuilder> updateGroupRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     * @return Whether the updateGroupRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateGroupRequest() {
      return kindCase_ == 305;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     * @return The updateGroupRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest getUpdateGroupRequest() {
      if (updateGroupRequestBuilder_ == null) {
        if (kindCase_ == 305) {
          return (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 305) {
          return updateGroupRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    public Builder setUpdateGroupRequest(im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest value) {
      if (updateGroupRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateGroupRequestBuilder_.setMessage(value);
      }
      kindCase_ = 305;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    public Builder setUpdateGroupRequest(
        im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder builderForValue) {
      if (updateGroupRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateGroupRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 305;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    public Builder mergeUpdateGroupRequest(im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest value) {
      if (updateGroupRequestBuilder_ == null) {
        if (kindCase_ == 305 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 305) {
          updateGroupRequestBuilder_.mergeFrom(value);
        } else {
          updateGroupRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 305;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    public Builder clearUpdateGroupRequest() {
      if (updateGroupRequestBuilder_ == null) {
        if (kindCase_ == 305) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 305) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateGroupRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder getUpdateGroupRequestBuilder() {
      return getUpdateGroupRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.UpdateGroupRequestOrBuilder getUpdateGroupRequestOrBuilder() {
      if ((kindCase_ == 305) && (updateGroupRequestBuilder_ != null)) {
        return updateGroupRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 305) {
          return (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupRequest update_group_request = 305;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequestOrBuilder> 
        getUpdateGroupRequestFieldBuilder() {
      if (updateGroupRequestBuilder_ == null) {
        if (!(kindCase_ == 305)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.getDefaultInstance();
        }
        updateGroupRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest.Builder, im.turms.server.common.access.client.dto.request.group.UpdateGroupRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.UpdateGroupRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 305;
      onChanged();;
      return updateGroupRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequestOrBuilder> createGroupBlockedUserRequestBuilder_;
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     * @return Whether the createGroupBlockedUserRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupBlockedUserRequest() {
      return kindCase_ == 400;
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     * @return The createGroupBlockedUserRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest getCreateGroupBlockedUserRequest() {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 400) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 400) {
          return createGroupBlockedUserRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    public Builder setCreateGroupBlockedUserRequest(im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest value) {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupBlockedUserRequestBuilder_.setMessage(value);
      }
      kindCase_ = 400;
      return this;
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    public Builder setCreateGroupBlockedUserRequest(
        im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder builderForValue) {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupBlockedUserRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 400;
      return this;
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    public Builder mergeCreateGroupBlockedUserRequest(im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest value) {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 400 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 400) {
          createGroupBlockedUserRequestBuilder_.mergeFrom(value);
        } else {
          createGroupBlockedUserRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 400;
      return this;
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    public Builder clearCreateGroupBlockedUserRequest() {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 400) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 400) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupBlockedUserRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder getCreateGroupBlockedUserRequestBuilder() {
      return getCreateGroupBlockedUserRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequestOrBuilder getCreateGroupBlockedUserRequestOrBuilder() {
      if ((kindCase_ == 400) && (createGroupBlockedUserRequestBuilder_ != null)) {
        return createGroupBlockedUserRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 400) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Blocklist
     * </pre>
     *
     * <code>.im.turms.proto.CreateGroupBlockedUserRequest create_group_blocked_user_request = 400;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequestOrBuilder> 
        getCreateGroupBlockedUserRequestFieldBuilder() {
      if (createGroupBlockedUserRequestBuilder_ == null) {
        if (!(kindCase_ == 400)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.getDefaultInstance();
        }
        createGroupBlockedUserRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.blocklist.CreateGroupBlockedUserRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 400;
      onChanged();;
      return createGroupBlockedUserRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequestOrBuilder> deleteGroupBlockedUserRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     * @return Whether the deleteGroupBlockedUserRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupBlockedUserRequest() {
      return kindCase_ == 401;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     * @return The deleteGroupBlockedUserRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest getDeleteGroupBlockedUserRequest() {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 401) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 401) {
          return deleteGroupBlockedUserRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    public Builder setDeleteGroupBlockedUserRequest(im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest value) {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupBlockedUserRequestBuilder_.setMessage(value);
      }
      kindCase_ = 401;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    public Builder setDeleteGroupBlockedUserRequest(
        im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder builderForValue) {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupBlockedUserRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 401;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    public Builder mergeDeleteGroupBlockedUserRequest(im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest value) {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 401 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 401) {
          deleteGroupBlockedUserRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupBlockedUserRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 401;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    public Builder clearDeleteGroupBlockedUserRequest() {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        if (kindCase_ == 401) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 401) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupBlockedUserRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder getDeleteGroupBlockedUserRequestBuilder() {
      return getDeleteGroupBlockedUserRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequestOrBuilder getDeleteGroupBlockedUserRequestOrBuilder() {
      if ((kindCase_ == 401) && (deleteGroupBlockedUserRequestBuilder_ != null)) {
        return deleteGroupBlockedUserRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 401) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupBlockedUserRequest delete_group_blocked_user_request = 401;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequestOrBuilder> 
        getDeleteGroupBlockedUserRequestFieldBuilder() {
      if (deleteGroupBlockedUserRequestBuilder_ == null) {
        if (!(kindCase_ == 401)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.getDefaultInstance();
        }
        deleteGroupBlockedUserRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.blocklist.DeleteGroupBlockedUserRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 401;
      onChanged();;
      return deleteGroupBlockedUserRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequestOrBuilder> queryGroupBlockedUserIdsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     * @return Whether the queryGroupBlockedUserIdsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupBlockedUserIdsRequest() {
      return kindCase_ == 402;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     * @return The queryGroupBlockedUserIdsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest getQueryGroupBlockedUserIdsRequest() {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 402) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 402) {
          return queryGroupBlockedUserIdsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    public Builder setQueryGroupBlockedUserIdsRequest(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest value) {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupBlockedUserIdsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 402;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    public Builder setQueryGroupBlockedUserIdsRequest(
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder builderForValue) {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupBlockedUserIdsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 402;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    public Builder mergeQueryGroupBlockedUserIdsRequest(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest value) {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 402 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 402) {
          queryGroupBlockedUserIdsRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupBlockedUserIdsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 402;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    public Builder clearQueryGroupBlockedUserIdsRequest() {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        if (kindCase_ == 402) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 402) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupBlockedUserIdsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder getQueryGroupBlockedUserIdsRequestBuilder() {
      return getQueryGroupBlockedUserIdsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequestOrBuilder getQueryGroupBlockedUserIdsRequestOrBuilder() {
      if ((kindCase_ == 402) && (queryGroupBlockedUserIdsRequestBuilder_ != null)) {
        return queryGroupBlockedUserIdsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 402) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserIdsRequest query_group_blocked_user_ids_request = 402;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequestOrBuilder> 
        getQueryGroupBlockedUserIdsRequestFieldBuilder() {
      if (queryGroupBlockedUserIdsRequestBuilder_ == null) {
        if (!(kindCase_ == 402)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.getDefaultInstance();
        }
        queryGroupBlockedUserIdsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserIdsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 402;
      onChanged();;
      return queryGroupBlockedUserIdsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequestOrBuilder> queryGroupBlockedUserInfosRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     * @return Whether the queryGroupBlockedUserInfosRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupBlockedUserInfosRequest() {
      return kindCase_ == 403;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     * @return The queryGroupBlockedUserInfosRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest getQueryGroupBlockedUserInfosRequest() {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        if (kindCase_ == 403) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 403) {
          return queryGroupBlockedUserInfosRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    public Builder setQueryGroupBlockedUserInfosRequest(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest value) {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupBlockedUserInfosRequestBuilder_.setMessage(value);
      }
      kindCase_ = 403;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    public Builder setQueryGroupBlockedUserInfosRequest(
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder builderForValue) {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupBlockedUserInfosRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 403;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    public Builder mergeQueryGroupBlockedUserInfosRequest(im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest value) {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        if (kindCase_ == 403 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 403) {
          queryGroupBlockedUserInfosRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupBlockedUserInfosRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 403;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    public Builder clearQueryGroupBlockedUserInfosRequest() {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        if (kindCase_ == 403) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 403) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupBlockedUserInfosRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder getQueryGroupBlockedUserInfosRequestBuilder() {
      return getQueryGroupBlockedUserInfosRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequestOrBuilder getQueryGroupBlockedUserInfosRequestOrBuilder() {
      if ((kindCase_ == 403) && (queryGroupBlockedUserInfosRequestBuilder_ != null)) {
        return queryGroupBlockedUserInfosRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 403) {
          return (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupBlockedUserInfosRequest query_group_blocked_user_infos_request = 403;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequestOrBuilder> 
        getQueryGroupBlockedUserInfosRequestFieldBuilder() {
      if (queryGroupBlockedUserInfosRequestBuilder_ == null) {
        if (!(kindCase_ == 403)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.getDefaultInstance();
        }
        queryGroupBlockedUserInfosRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest.Builder, im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.blocklist.QueryGroupBlockedUserInfosRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 403;
      onChanged();;
      return queryGroupBlockedUserInfosRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequestOrBuilder> checkGroupJoinQuestionsAnswersRequestBuilder_;
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     * @return Whether the checkGroupJoinQuestionsAnswersRequest field is set.
     */
    @java.lang.Override
    public boolean hasCheckGroupJoinQuestionsAnswersRequest() {
      return kindCase_ == 500;
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     * @return The checkGroupJoinQuestionsAnswersRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest getCheckGroupJoinQuestionsAnswersRequest() {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        if (kindCase_ == 500) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 500) {
          return checkGroupJoinQuestionsAnswersRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    public Builder setCheckGroupJoinQuestionsAnswersRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest value) {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        checkGroupJoinQuestionsAnswersRequestBuilder_.setMessage(value);
      }
      kindCase_ = 500;
      return this;
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    public Builder setCheckGroupJoinQuestionsAnswersRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder builderForValue) {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        checkGroupJoinQuestionsAnswersRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 500;
      return this;
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    public Builder mergeCheckGroupJoinQuestionsAnswersRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest value) {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        if (kindCase_ == 500 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 500) {
          checkGroupJoinQuestionsAnswersRequestBuilder_.mergeFrom(value);
        } else {
          checkGroupJoinQuestionsAnswersRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 500;
      return this;
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    public Builder clearCheckGroupJoinQuestionsAnswersRequest() {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        if (kindCase_ == 500) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 500) {
          kindCase_ = 0;
          kind_ = null;
        }
        checkGroupJoinQuestionsAnswersRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder getCheckGroupJoinQuestionsAnswersRequestBuilder() {
      return getCheckGroupJoinQuestionsAnswersRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequestOrBuilder getCheckGroupJoinQuestionsAnswersRequestOrBuilder() {
      if ((kindCase_ == 500) && (checkGroupJoinQuestionsAnswersRequestBuilder_ != null)) {
        return checkGroupJoinQuestionsAnswersRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 500) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Group Enrollment
     * </pre>
     *
     * <code>.im.turms.proto.CheckGroupJoinQuestionsAnswersRequest check_group_join_questions_answers_request = 500;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequestOrBuilder> 
        getCheckGroupJoinQuestionsAnswersRequestFieldBuilder() {
      if (checkGroupJoinQuestionsAnswersRequestBuilder_ == null) {
        if (!(kindCase_ == 500)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.getDefaultInstance();
        }
        checkGroupJoinQuestionsAnswersRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.CheckGroupJoinQuestionsAnswersRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 500;
      onChanged();;
      return checkGroupJoinQuestionsAnswersRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequestOrBuilder> createGroupInvitationRequestBuilder_;
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     * @return Whether the createGroupInvitationRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupInvitationRequest() {
      return kindCase_ == 501;
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     * @return The createGroupInvitationRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest getCreateGroupInvitationRequest() {
      if (createGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 501) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 501) {
          return createGroupInvitationRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    public Builder setCreateGroupInvitationRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest value) {
      if (createGroupInvitationRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupInvitationRequestBuilder_.setMessage(value);
      }
      kindCase_ = 501;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    public Builder setCreateGroupInvitationRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder builderForValue) {
      if (createGroupInvitationRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupInvitationRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 501;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    public Builder mergeCreateGroupInvitationRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest value) {
      if (createGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 501 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 501) {
          createGroupInvitationRequestBuilder_.mergeFrom(value);
        } else {
          createGroupInvitationRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 501;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    public Builder clearCreateGroupInvitationRequest() {
      if (createGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 501) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 501) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupInvitationRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder getCreateGroupInvitationRequestBuilder() {
      return getCreateGroupInvitationRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequestOrBuilder getCreateGroupInvitationRequestOrBuilder() {
      if ((kindCase_ == 501) && (createGroupInvitationRequestBuilder_ != null)) {
        return createGroupInvitationRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 501) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupInvitationRequest create_group_invitation_request = 501;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequestOrBuilder> 
        getCreateGroupInvitationRequestFieldBuilder() {
      if (createGroupInvitationRequestBuilder_ == null) {
        if (!(kindCase_ == 501)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.getDefaultInstance();
        }
        createGroupInvitationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupInvitationRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 501;
      onChanged();;
      return createGroupInvitationRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequestOrBuilder> createGroupJoinRequestRequestBuilder_;
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     * @return Whether the createGroupJoinRequestRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupJoinRequestRequest() {
      return kindCase_ == 502;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     * @return The createGroupJoinRequestRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest getCreateGroupJoinRequestRequest() {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 502) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 502) {
          return createGroupJoinRequestRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    public Builder setCreateGroupJoinRequestRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest value) {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupJoinRequestRequestBuilder_.setMessage(value);
      }
      kindCase_ = 502;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    public Builder setCreateGroupJoinRequestRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder builderForValue) {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupJoinRequestRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 502;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    public Builder mergeCreateGroupJoinRequestRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest value) {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 502 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 502) {
          createGroupJoinRequestRequestBuilder_.mergeFrom(value);
        } else {
          createGroupJoinRequestRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 502;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    public Builder clearCreateGroupJoinRequestRequest() {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 502) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 502) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupJoinRequestRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder getCreateGroupJoinRequestRequestBuilder() {
      return getCreateGroupJoinRequestRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequestOrBuilder getCreateGroupJoinRequestRequestOrBuilder() {
      if ((kindCase_ == 502) && (createGroupJoinRequestRequestBuilder_ != null)) {
        return createGroupJoinRequestRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 502) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinRequestRequest create_group_join_request_request = 502;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequestOrBuilder> 
        getCreateGroupJoinRequestRequestFieldBuilder() {
      if (createGroupJoinRequestRequestBuilder_ == null) {
        if (!(kindCase_ == 502)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.getDefaultInstance();
        }
        createGroupJoinRequestRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinRequestRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 502;
      onChanged();;
      return createGroupJoinRequestRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequestOrBuilder> createGroupJoinQuestionRequestBuilder_;
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     * @return Whether the createGroupJoinQuestionRequest field is set.
     */
    @java.lang.Override
    public boolean hasCreateGroupJoinQuestionRequest() {
      return kindCase_ == 503;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     * @return The createGroupJoinQuestionRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest getCreateGroupJoinQuestionRequest() {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 503) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 503) {
          return createGroupJoinQuestionRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    public Builder setCreateGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest value) {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        createGroupJoinQuestionRequestBuilder_.setMessage(value);
      }
      kindCase_ = 503;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    public Builder setCreateGroupJoinQuestionRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder builderForValue) {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        createGroupJoinQuestionRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 503;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    public Builder mergeCreateGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest value) {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 503 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 503) {
          createGroupJoinQuestionRequestBuilder_.mergeFrom(value);
        } else {
          createGroupJoinQuestionRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 503;
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    public Builder clearCreateGroupJoinQuestionRequest() {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 503) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 503) {
          kindCase_ = 0;
          kind_ = null;
        }
        createGroupJoinQuestionRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder getCreateGroupJoinQuestionRequestBuilder() {
      return getCreateGroupJoinQuestionRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequestOrBuilder getCreateGroupJoinQuestionRequestOrBuilder() {
      if ((kindCase_ == 503) && (createGroupJoinQuestionRequestBuilder_ != null)) {
        return createGroupJoinQuestionRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 503) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.CreateGroupJoinQuestionRequest create_group_join_question_request = 503;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequestOrBuilder> 
        getCreateGroupJoinQuestionRequestFieldBuilder() {
      if (createGroupJoinQuestionRequestBuilder_ == null) {
        if (!(kindCase_ == 503)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.getDefaultInstance();
        }
        createGroupJoinQuestionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.CreateGroupJoinQuestionRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 503;
      onChanged();;
      return createGroupJoinQuestionRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequestOrBuilder> deleteGroupInvitationRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     * @return Whether the deleteGroupInvitationRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupInvitationRequest() {
      return kindCase_ == 504;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     * @return The deleteGroupInvitationRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest getDeleteGroupInvitationRequest() {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 504) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 504) {
          return deleteGroupInvitationRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    public Builder setDeleteGroupInvitationRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest value) {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupInvitationRequestBuilder_.setMessage(value);
      }
      kindCase_ = 504;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    public Builder setDeleteGroupInvitationRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder builderForValue) {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupInvitationRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 504;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    public Builder mergeDeleteGroupInvitationRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest value) {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 504 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 504) {
          deleteGroupInvitationRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupInvitationRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 504;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    public Builder clearDeleteGroupInvitationRequest() {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        if (kindCase_ == 504) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 504) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupInvitationRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder getDeleteGroupInvitationRequestBuilder() {
      return getDeleteGroupInvitationRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequestOrBuilder getDeleteGroupInvitationRequestOrBuilder() {
      if ((kindCase_ == 504) && (deleteGroupInvitationRequestBuilder_ != null)) {
        return deleteGroupInvitationRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 504) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupInvitationRequest delete_group_invitation_request = 504;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequestOrBuilder> 
        getDeleteGroupInvitationRequestFieldBuilder() {
      if (deleteGroupInvitationRequestBuilder_ == null) {
        if (!(kindCase_ == 504)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.getDefaultInstance();
        }
        deleteGroupInvitationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupInvitationRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 504;
      onChanged();;
      return deleteGroupInvitationRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequestOrBuilder> deleteGroupJoinRequestRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     * @return Whether the deleteGroupJoinRequestRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupJoinRequestRequest() {
      return kindCase_ == 505;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     * @return The deleteGroupJoinRequestRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest getDeleteGroupJoinRequestRequest() {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 505) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 505) {
          return deleteGroupJoinRequestRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    public Builder setDeleteGroupJoinRequestRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest value) {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupJoinRequestRequestBuilder_.setMessage(value);
      }
      kindCase_ = 505;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    public Builder setDeleteGroupJoinRequestRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder builderForValue) {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupJoinRequestRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 505;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    public Builder mergeDeleteGroupJoinRequestRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest value) {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 505 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 505) {
          deleteGroupJoinRequestRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupJoinRequestRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 505;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    public Builder clearDeleteGroupJoinRequestRequest() {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        if (kindCase_ == 505) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 505) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupJoinRequestRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder getDeleteGroupJoinRequestRequestBuilder() {
      return getDeleteGroupJoinRequestRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequestOrBuilder getDeleteGroupJoinRequestRequestOrBuilder() {
      if ((kindCase_ == 505) && (deleteGroupJoinRequestRequestBuilder_ != null)) {
        return deleteGroupJoinRequestRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 505) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinRequestRequest delete_group_join_request_request = 505;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequestOrBuilder> 
        getDeleteGroupJoinRequestRequestFieldBuilder() {
      if (deleteGroupJoinRequestRequestBuilder_ == null) {
        if (!(kindCase_ == 505)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.getDefaultInstance();
        }
        deleteGroupJoinRequestRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinRequestRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 505;
      onChanged();;
      return deleteGroupJoinRequestRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequestOrBuilder> deleteGroupJoinQuestionRequestBuilder_;
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     * @return Whether the deleteGroupJoinQuestionRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteGroupJoinQuestionRequest() {
      return kindCase_ == 506;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     * @return The deleteGroupJoinQuestionRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest getDeleteGroupJoinQuestionRequest() {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 506) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 506) {
          return deleteGroupJoinQuestionRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    public Builder setDeleteGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest value) {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteGroupJoinQuestionRequestBuilder_.setMessage(value);
      }
      kindCase_ = 506;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    public Builder setDeleteGroupJoinQuestionRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder builderForValue) {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteGroupJoinQuestionRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 506;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    public Builder mergeDeleteGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest value) {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 506 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 506) {
          deleteGroupJoinQuestionRequestBuilder_.mergeFrom(value);
        } else {
          deleteGroupJoinQuestionRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 506;
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    public Builder clearDeleteGroupJoinQuestionRequest() {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 506) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 506) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteGroupJoinQuestionRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder getDeleteGroupJoinQuestionRequestBuilder() {
      return getDeleteGroupJoinQuestionRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequestOrBuilder getDeleteGroupJoinQuestionRequestOrBuilder() {
      if ((kindCase_ == 506) && (deleteGroupJoinQuestionRequestBuilder_ != null)) {
        return deleteGroupJoinQuestionRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 506) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.DeleteGroupJoinQuestionRequest delete_group_join_question_request = 506;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequestOrBuilder> 
        getDeleteGroupJoinQuestionRequestFieldBuilder() {
      if (deleteGroupJoinQuestionRequestBuilder_ == null) {
        if (!(kindCase_ == 506)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.getDefaultInstance();
        }
        deleteGroupJoinQuestionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.DeleteGroupJoinQuestionRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 506;
      onChanged();;
      return deleteGroupJoinQuestionRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequestOrBuilder> queryGroupInvitationsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     * @return Whether the queryGroupInvitationsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupInvitationsRequest() {
      return kindCase_ == 507;
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     * @return The queryGroupInvitationsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest getQueryGroupInvitationsRequest() {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        if (kindCase_ == 507) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 507) {
          return queryGroupInvitationsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    public Builder setQueryGroupInvitationsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest value) {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupInvitationsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 507;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    public Builder setQueryGroupInvitationsRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder builderForValue) {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupInvitationsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 507;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    public Builder mergeQueryGroupInvitationsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest value) {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        if (kindCase_ == 507 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 507) {
          queryGroupInvitationsRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupInvitationsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 507;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    public Builder clearQueryGroupInvitationsRequest() {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        if (kindCase_ == 507) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 507) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupInvitationsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder getQueryGroupInvitationsRequestBuilder() {
      return getQueryGroupInvitationsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequestOrBuilder getQueryGroupInvitationsRequestOrBuilder() {
      if ((kindCase_ == 507) && (queryGroupInvitationsRequestBuilder_ != null)) {
        return queryGroupInvitationsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 507) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupInvitationsRequest query_group_invitations_request = 507;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequestOrBuilder> 
        getQueryGroupInvitationsRequestFieldBuilder() {
      if (queryGroupInvitationsRequestBuilder_ == null) {
        if (!(kindCase_ == 507)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.getDefaultInstance();
        }
        queryGroupInvitationsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupInvitationsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 507;
      onChanged();;
      return queryGroupInvitationsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequestOrBuilder> queryGroupJoinRequestsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     * @return Whether the queryGroupJoinRequestsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupJoinRequestsRequest() {
      return kindCase_ == 508;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     * @return The queryGroupJoinRequestsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest getQueryGroupJoinRequestsRequest() {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        if (kindCase_ == 508) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 508) {
          return queryGroupJoinRequestsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    public Builder setQueryGroupJoinRequestsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest value) {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupJoinRequestsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 508;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    public Builder setQueryGroupJoinRequestsRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder builderForValue) {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupJoinRequestsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 508;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    public Builder mergeQueryGroupJoinRequestsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest value) {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        if (kindCase_ == 508 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 508) {
          queryGroupJoinRequestsRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupJoinRequestsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 508;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    public Builder clearQueryGroupJoinRequestsRequest() {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        if (kindCase_ == 508) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 508) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupJoinRequestsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder getQueryGroupJoinRequestsRequestBuilder() {
      return getQueryGroupJoinRequestsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequestOrBuilder getQueryGroupJoinRequestsRequestOrBuilder() {
      if ((kindCase_ == 508) && (queryGroupJoinRequestsRequestBuilder_ != null)) {
        return queryGroupJoinRequestsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 508) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinRequestsRequest query_group_join_requests_request = 508;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequestOrBuilder> 
        getQueryGroupJoinRequestsRequestFieldBuilder() {
      if (queryGroupJoinRequestsRequestBuilder_ == null) {
        if (!(kindCase_ == 508)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.getDefaultInstance();
        }
        queryGroupJoinRequestsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinRequestsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 508;
      onChanged();;
      return queryGroupJoinRequestsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequestOrBuilder> queryGroupJoinQuestionsRequestBuilder_;
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     * @return Whether the queryGroupJoinQuestionsRequest field is set.
     */
    @java.lang.Override
    public boolean hasQueryGroupJoinQuestionsRequest() {
      return kindCase_ == 509;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     * @return The queryGroupJoinQuestionsRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest getQueryGroupJoinQuestionsRequest() {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        if (kindCase_ == 509) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 509) {
          return queryGroupJoinQuestionsRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    public Builder setQueryGroupJoinQuestionsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest value) {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        queryGroupJoinQuestionsRequestBuilder_.setMessage(value);
      }
      kindCase_ = 509;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    public Builder setQueryGroupJoinQuestionsRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder builderForValue) {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        queryGroupJoinQuestionsRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 509;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    public Builder mergeQueryGroupJoinQuestionsRequest(im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest value) {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        if (kindCase_ == 509 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 509) {
          queryGroupJoinQuestionsRequestBuilder_.mergeFrom(value);
        } else {
          queryGroupJoinQuestionsRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 509;
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    public Builder clearQueryGroupJoinQuestionsRequest() {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        if (kindCase_ == 509) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 509) {
          kindCase_ = 0;
          kind_ = null;
        }
        queryGroupJoinQuestionsRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder getQueryGroupJoinQuestionsRequestBuilder() {
      return getQueryGroupJoinQuestionsRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequestOrBuilder getQueryGroupJoinQuestionsRequestOrBuilder() {
      if ((kindCase_ == 509) && (queryGroupJoinQuestionsRequestBuilder_ != null)) {
        return queryGroupJoinQuestionsRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 509) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QueryGroupJoinQuestionsRequest query_group_join_questions_request = 509;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequestOrBuilder> 
        getQueryGroupJoinQuestionsRequestFieldBuilder() {
      if (queryGroupJoinQuestionsRequestBuilder_ == null) {
        if (!(kindCase_ == 509)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.getDefaultInstance();
        }
        queryGroupJoinQuestionsRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.QueryGroupJoinQuestionsRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 509;
      onChanged();;
      return queryGroupJoinQuestionsRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequestOrBuilder> updateGroupJoinQuestionRequestBuilder_;
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     * @return Whether the updateGroupJoinQuestionRequest field is set.
     */
    @java.lang.Override
    public boolean hasUpdateGroupJoinQuestionRequest() {
      return kindCase_ == 510;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     * @return The updateGroupJoinQuestionRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest getUpdateGroupJoinQuestionRequest() {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 510) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 510) {
          return updateGroupJoinQuestionRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    public Builder setUpdateGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest value) {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        updateGroupJoinQuestionRequestBuilder_.setMessage(value);
      }
      kindCase_ = 510;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    public Builder setUpdateGroupJoinQuestionRequest(
        im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder builderForValue) {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        updateGroupJoinQuestionRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 510;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    public Builder mergeUpdateGroupJoinQuestionRequest(im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest value) {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 510 &&
            kind_ != im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.newBuilder((im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 510) {
          updateGroupJoinQuestionRequestBuilder_.mergeFrom(value);
        } else {
          updateGroupJoinQuestionRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 510;
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    public Builder clearUpdateGroupJoinQuestionRequest() {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        if (kindCase_ == 510) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 510) {
          kindCase_ = 0;
          kind_ = null;
        }
        updateGroupJoinQuestionRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    public im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder getUpdateGroupJoinQuestionRequestBuilder() {
      return getUpdateGroupJoinQuestionRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequestOrBuilder getUpdateGroupJoinQuestionRequestOrBuilder() {
      if ((kindCase_ == 510) && (updateGroupJoinQuestionRequestBuilder_ != null)) {
        return updateGroupJoinQuestionRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 510) {
          return (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.UpdateGroupJoinQuestionRequest update_group_join_question_request = 510;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequestOrBuilder> 
        getUpdateGroupJoinQuestionRequestFieldBuilder() {
      if (updateGroupJoinQuestionRequestBuilder_ == null) {
        if (!(kindCase_ == 510)) {
          kind_ = im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.getDefaultInstance();
        }
        updateGroupJoinQuestionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest.Builder, im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.group.enrollment.UpdateGroupJoinQuestionRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 510;
      onChanged();;
      return updateGroupJoinQuestionRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequestOrBuilder> deleteResourceRequestBuilder_;
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     * @return Whether the deleteResourceRequest field is set.
     */
    @java.lang.Override
    public boolean hasDeleteResourceRequest() {
      return kindCase_ == 1000;
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     * @return The deleteResourceRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest getDeleteResourceRequest() {
      if (deleteResourceRequestBuilder_ == null) {
        if (kindCase_ == 1000) {
          return (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 1000) {
          return deleteResourceRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    public Builder setDeleteResourceRequest(im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest value) {
      if (deleteResourceRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        deleteResourceRequestBuilder_.setMessage(value);
      }
      kindCase_ = 1000;
      return this;
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    public Builder setDeleteResourceRequest(
        im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder builderForValue) {
      if (deleteResourceRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        deleteResourceRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 1000;
      return this;
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    public Builder mergeDeleteResourceRequest(im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest value) {
      if (deleteResourceRequestBuilder_ == null) {
        if (kindCase_ == 1000 &&
            kind_ != im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.newBuilder((im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 1000) {
          deleteResourceRequestBuilder_.mergeFrom(value);
        } else {
          deleteResourceRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 1000;
      return this;
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    public Builder clearDeleteResourceRequest() {
      if (deleteResourceRequestBuilder_ == null) {
        if (kindCase_ == 1000) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 1000) {
          kindCase_ = 0;
          kind_ = null;
        }
        deleteResourceRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    public im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder getDeleteResourceRequestBuilder() {
      return getDeleteResourceRequestFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequestOrBuilder getDeleteResourceRequestOrBuilder() {
      if ((kindCase_ == 1000) && (deleteResourceRequestBuilder_ != null)) {
        return deleteResourceRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 1000) {
          return (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * Storage
     * </pre>
     *
     * <code>.im.turms.proto.DeleteResourceRequest delete_resource_request = 1000;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequestOrBuilder> 
        getDeleteResourceRequestFieldBuilder() {
      if (deleteResourceRequestBuilder_ == null) {
        if (!(kindCase_ == 1000)) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.getDefaultInstance();
        }
        deleteResourceRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest.Builder, im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.storage.DeleteResourceRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 1000;
      onChanged();;
      return deleteResourceRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequestOrBuilder> querySignedGetUrlRequestBuilder_;
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     * @return Whether the querySignedGetUrlRequest field is set.
     */
    @java.lang.Override
    public boolean hasQuerySignedGetUrlRequest() {
      return kindCase_ == 1001;
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     * @return The querySignedGetUrlRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest getQuerySignedGetUrlRequest() {
      if (querySignedGetUrlRequestBuilder_ == null) {
        if (kindCase_ == 1001) {
          return (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 1001) {
          return querySignedGetUrlRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    public Builder setQuerySignedGetUrlRequest(im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest value) {
      if (querySignedGetUrlRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        querySignedGetUrlRequestBuilder_.setMessage(value);
      }
      kindCase_ = 1001;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    public Builder setQuerySignedGetUrlRequest(
        im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder builderForValue) {
      if (querySignedGetUrlRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        querySignedGetUrlRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 1001;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    public Builder mergeQuerySignedGetUrlRequest(im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest value) {
      if (querySignedGetUrlRequestBuilder_ == null) {
        if (kindCase_ == 1001 &&
            kind_ != im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.newBuilder((im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 1001) {
          querySignedGetUrlRequestBuilder_.mergeFrom(value);
        } else {
          querySignedGetUrlRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 1001;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    public Builder clearQuerySignedGetUrlRequest() {
      if (querySignedGetUrlRequestBuilder_ == null) {
        if (kindCase_ == 1001) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 1001) {
          kindCase_ = 0;
          kind_ = null;
        }
        querySignedGetUrlRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder getQuerySignedGetUrlRequestBuilder() {
      return getQuerySignedGetUrlRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequestOrBuilder getQuerySignedGetUrlRequestOrBuilder() {
      if ((kindCase_ == 1001) && (querySignedGetUrlRequestBuilder_ != null)) {
        return querySignedGetUrlRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 1001) {
          return (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QuerySignedGetUrlRequest query_signed_get_url_request = 1001;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequestOrBuilder> 
        getQuerySignedGetUrlRequestFieldBuilder() {
      if (querySignedGetUrlRequestBuilder_ == null) {
        if (!(kindCase_ == 1001)) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.getDefaultInstance();
        }
        querySignedGetUrlRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.storage.QuerySignedGetUrlRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 1001;
      onChanged();;
      return querySignedGetUrlRequestBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequestOrBuilder> querySignedPutUrlRequestBuilder_;
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     * @return Whether the querySignedPutUrlRequest field is set.
     */
    @java.lang.Override
    public boolean hasQuerySignedPutUrlRequest() {
      return kindCase_ == 1002;
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     * @return The querySignedPutUrlRequest.
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest getQuerySignedPutUrlRequest() {
      if (querySignedPutUrlRequestBuilder_ == null) {
        if (kindCase_ == 1002) {
          return (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
      } else {
        if (kindCase_ == 1002) {
          return querySignedPutUrlRequestBuilder_.getMessage();
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    public Builder setQuerySignedPutUrlRequest(im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest value) {
      if (querySignedPutUrlRequestBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        querySignedPutUrlRequestBuilder_.setMessage(value);
      }
      kindCase_ = 1002;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    public Builder setQuerySignedPutUrlRequest(
        im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder builderForValue) {
      if (querySignedPutUrlRequestBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        querySignedPutUrlRequestBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 1002;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    public Builder mergeQuerySignedPutUrlRequest(im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest value) {
      if (querySignedPutUrlRequestBuilder_ == null) {
        if (kindCase_ == 1002 &&
            kind_ != im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance()) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.newBuilder((im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 1002) {
          querySignedPutUrlRequestBuilder_.mergeFrom(value);
        } else {
          querySignedPutUrlRequestBuilder_.setMessage(value);
        }
      }
      kindCase_ = 1002;
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    public Builder clearQuerySignedPutUrlRequest() {
      if (querySignedPutUrlRequestBuilder_ == null) {
        if (kindCase_ == 1002) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 1002) {
          kindCase_ = 0;
          kind_ = null;
        }
        querySignedPutUrlRequestBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder getQuerySignedPutUrlRequestBuilder() {
      return getQuerySignedPutUrlRequestFieldBuilder().getBuilder();
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    @java.lang.Override
    public im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequestOrBuilder getQuerySignedPutUrlRequestOrBuilder() {
      if ((kindCase_ == 1002) && (querySignedPutUrlRequestBuilder_ != null)) {
        return querySignedPutUrlRequestBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 1002) {
          return (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_;
        }
        return im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
      }
    }
    /**
     * <code>.im.turms.proto.QuerySignedPutUrlRequest query_signed_put_url_request = 1002;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequestOrBuilder> 
        getQuerySignedPutUrlRequestFieldBuilder() {
      if (querySignedPutUrlRequestBuilder_ == null) {
        if (!(kindCase_ == 1002)) {
          kind_ = im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.getDefaultInstance();
        }
        querySignedPutUrlRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest.Builder, im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequestOrBuilder>(
                (im.turms.server.common.access.client.dto.request.storage.QuerySignedPutUrlRequest) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 1002;
      onChanged();;
      return querySignedPutUrlRequestBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:im.turms.proto.TurmsRequest)
  }

  // @@protoc_insertion_point(class_scope:im.turms.proto.TurmsRequest)
  private static final im.turms.server.common.access.client.dto.request.TurmsRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new im.turms.server.common.access.client.dto.request.TurmsRequest();
  }

  public static im.turms.server.common.access.client.dto.request.TurmsRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<TurmsRequest>
      PARSER = new com.google.protobuf.AbstractParser<TurmsRequest>() {
    @java.lang.Override
    public TurmsRequest parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new TurmsRequest(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<TurmsRequest> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<TurmsRequest> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public im.turms.server.common.access.client.dto.request.TurmsRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

